You are not logged in.

#1 2008-12-04 18:09:56

Buziaczek
Member
Registered: 2008-08-22
Posts: 18

How should the FSTAB file look like?

Helloeveryone. I have a problem with the FSTAB file, becuse I try mount my floppy disk, but nothing. I saw the FSTAB file ( http://wiki.archlinux.org/index.php/Fstab ) in Wiki and it looks diffrent as my and I don't find nowhere the hda2 partition. When I have SATA disk I should have sda enterirs no hda. Thank you for all. Regards for everyone. Contact with me, please. Goodbye.

Offline

#2 2008-12-04 18:25:25

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: How should the FSTAB file look like?

I think for the floppy you might need to manually load the module "floppy"  -- or you can just add it to the MODULES array in rc.conf.

fstab should contain the drives you get when you issue "fdisk -l" as root, so:

$ sudo fdisk -l

Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0009741e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          65      522081   83  Linux
/dev/sda2              66         196     1052257+  82  Linux swap / Solaris
/dev/sda3             197        1471    10241437+  83  Linux
/dev/sda4            1472        7296    46789312+  83  Linux

and then my fstab includes this:

/dev/sda1               /boot         ext2           defaults,noatime            0          1
/dev/sda2               swap          swap           defaults                    0          0
/dev/sda3               /             reiserfs       noatime,notail              0          1
/dev/sda4               /home         jfs            defaults,noatime            0          1

Offline

Board footer

Powered by FluxBB