The mount command has reported that /dev/sdc1 is fuseblk, so far so
good. Now, gparted can report that /dev/sdc1 is an ntfs filesystem
whether or not it's mounted, it just can't tell much about how much
of it is used unless it's mounted. How can I get at whatever
gparted is using to determine that /dev/sdc1 is an ntfs filesystem?
I guess I'll need to go look at the commands used to list partition
data once I wake up enough to remember what they are. Thanks.
I like 'disktype' as a good command line utility which gives lots of
good information about filesystems. 'disktype /dev/sdc' will identify
all of the partitions giving detailed information for many partition
types.
***@disasterville-1# disktype /dev/sda
--- /dev/sda
Block device, size 232.9 GiB (250059350016 bytes)
DOS/MBR partition map
Partition 1: 12.00 GiB (12888047616 bytes, 25171968 sectors from 2048)
Type 0x27 (Unknown)
NTFS file system
Volume size 12.00 GiB (12888047104 bytes, 25171967 sectors)
Partition 2: 101 MiB (105906176 bytes, 206848 sectors from 25174016, bootable)
Type 0x07 (HPFS/NTFS)
NTFS file system
Volume size 101.0 MiB (105905664 bytes, 206847 sectors)
Partition 3: 34.18 GiB (36702139392 bytes, 71683866 sectors from 25380864)
Type 0x07 (HPFS/NTFS)
NTFS file system
Volume size 34.18 GiB (36702138880 bytes, 71683865 sectors)
Partition 4: 186.6 GiB (200361902080 bytes, 391331840 sectors from 97064960)
Type 0x83 (Linux)
Ext3 file system
UUID B4187CB4-0BE9-4464-8F88-9CEE2DDE50DD (DCE, v4)
Last mounted at "/"
Volume size 186.6 GiB (200361902080 bytes, 48916480 blocks of 4 KiB)
***@disasterville-2#
The standard 'file' command might also be of interest:
***@disasterville-6# file -s /dev/sda*
/dev/sda: x86 boot sector; partition 1: ID=0x27, starthead 32, startsector 2048, 25171968 sectors; partition 2: ID=0x7, active, starthead 254, startsector 25174016, 206848 sectors; partition 3: ID=0x7, starthead 254, startsector 25380864, 71683866 sectors; partition 4: ID=0x83, starthead 254, startsector 97064960, 391331840 sectors, code offset 0x63
/dev/sda1: x86 boot sector, code offset 0x52, OEM-ID "NTFS ", sectors/cluster 8, reserved sectors 0, Media descriptor 0xf8, heads 255, hidden sectors 2048, dos < 4.0 BootSector (0x80)
/dev/sda2: x86 boot sector, code offset 0x52, OEM-ID "NTFS ", sectors/cluster 8, reserved sectors 0, Media descriptor 0xf8, heads 255, hidden sectors 25174016, dos < 4.0 BootSector (0x80)
/dev/sda3: x86 boot sector, code offset 0x52, OEM-ID "NTFS ", sectors/cluster 8, reserved sectors 0, Media descriptor 0xf8, heads 255, hidden sectors 25380864, dos < 4.0 BootSector (0x80)
/dev/sda4: Linux rev 1.0 ext4 filesystem data, UUID=b4187cb4-0be9-4464-8f88-9cee2dde50dd (needs journal recovery) (extents) (large files) (huge files)
***@disasterville-7#
These usually require root privilege since they read the raw device
which is usually read/write protected from ordinary users.
Stuart
--
I've never been lost; I was once bewildered for three days, but never lost!
-- Daniel Boone