RE: fstab/mount filesystem nomenclature
Disk /dev/hde: 255 heads, 63 sectors, 16709 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hde1 * 1 14593 117218241 7
HPFS/NTFS
/dev/hde2 14594 19457 39070080 f Win95
Ext'd (LBA)
/dev/hde5 14594 19457 39070048+ b Win95
FAT32
% mount -a
mount: wrong fs type, bad option, bad superblock on /dev/hde5,
or too many mounted file systems
[and for fdisk -l /dev/hdf]
/dev/hdf1 1 12238 98301703+ 7
HPFS/NTFS
/dev/hdf2 12239 16709 35913307+ 7
HPFS/NTFS
[I stand corrected. Both partitions on hdf are ntfs. I had thought I had
made the second one fat32... probably just a mind/memory error]
# etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hda1 /c vfat defaults 0 0
/dev/hda5 / ext2 errors=remount-ro 0 1
/dev/hda6 none swap sw 0 0
/dev/hda8 /d vfat defaults 0 0
/dev/hde1 /e ntfs ro,auto,user 0 0
/dev/hde5 /f vfat defaults 0 0
/dev/hdf1 /g ntfs ro,auto,user 0 0
/dev/hdf2 /h ntfs ro,auto,user 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy auto user,noauto 0 0
/dev/cdrom /cdrom iso9669 ro,user,noauto 0 0
--
David
-----Original Message-----
From: Pigeon [mailto:jah.pigeon@ukonline.co.uk]
Sent: Saturday, February 08, 2003 11:49 PM
To: debian-user@lists.debian.org
Subject: Re: fstab/mount filesystem nomenclature
On Sat, Feb 08, 2003 at 12:32:23AM -0500, David Turetsky wrote:
> Great. fdisk -l /dev/hde gives me
>
> /dev/hde1 * ...
> /dev/hde2 ...
> /dev/hde5 ...
>
> /hde2 and /hde5 give the same starting and ending blocks, so I assume
> hde5 is the logical partition and hde2 is the extended partition
Yes, though the part of the output from fdisk -l which you snipped
should tell you that for definite.
> fdisk -l /dev/hdf gives me /hdf1 and hdf2
>
> Problem: Neither ls /f (assigned in /etc/fstab to /hde5) nor /h
> (assigned in /etc/fstab to hdf2) works
You have to explicitly mount them; if all you do is list them in
/etc/fstab nothing happens until you next boot. "mount -a" as root
should mount everything listed in /etc/fstab.
Remember that when you create a new partition, you have to create a
filesystem on it before you can use it (see man mke2fs).
If it still doesn't work, I suggest you post your /etc/fstab and the
*entire* output from fdisk -l on the drive concerned.
> An interesting observation. On the drive labeled as hdf, I have the
> second partition in fat32 yet both are shown as ntfs. Is Microsoft
> jury-rigging this to seem to behave as fat32 when in fact it is
actually
> ntfs?
I very much doubt it, although I've never used the NT-based variants
of Windoze. I don't know what's going on there. Sorry.
Pigeon
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Reply to: