Yet another fstab/automount question...

Soldato
Joined
4 Jan 2004
Posts
20,802
Location
¯\_(ツ)_/¯
Just a quick question, I've just installed another hard drive for storage under xubuntu. It's formatted ext3.

I've added it to /etc/fstab, and it automounts ok. Is there anything else I need to do? Does it have to be added to fsck.conf or something like that?

EDIT: I've also found that I cannot make or edit files unless I use "sudo" I'll post the line from my my fstab and see if anyone know why this is:

/dev/sdb2 /media/storage /ext3 defaults 0 2

EDIT: Fixed it with chown - ignore or delete thread plz :)
 
Last edited:
As a sidenote, you don't need to add it to fsck.conf, the last number of the fstab line says what happens, 0 = No fsck, otherwise its the order it gets scanned
 
do you actually need to put the '/' infront of the ext3?

Nope, surprised it didn't cause an error.

The third field, (fs_vfstype), describes the type of the filesystem.
Linux supports lots of filesystem types, such as adfs, affs, autofs,
coda, coherent, cramfs, devpts, efs, ext2, ext3, hfs, hpfs, iso9660,
jfs, minix, msdos, ncpfs, nfs, ntfs, proc, qnx4, reiserfs, romfs,
smbfs, sysv, tmpfs, udf, ufs, umsdos, vfat, xenix, xfs, and possibly
others. For more details, see mount(8). For the filesystems currently
supported by the running kernel, see /proc/filesystems. An entry swap
denotes a file or partition to be used for swapping, cf. swapon(8). An
entry ignore causes the line to be ignored. This is useful to show
disk partitions which are currently unused. An entry none is useful
for bind or move mounts.
 
Back
Top Bottom