[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: basic fstab .. pilot idiocy??



Harry Putnam wrote:
Trying to do a simple edit to fstab but keep failing.

I want to mount a device in such a way that it ends up with uid and
gid of my choice.  But when I attempt to add those options  (or any
others it seems) the mount fails with this error:

 # mount /home/harry/.junk
mount: wrong fs type, bad option, bad superblock on /dev/sdd1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

I see nothing helpful in /var/log/messages.

Both man mount and googling for examples... seem to show the same
sort of thing I am trying.

The fstab line:

/dev/sdd1 /home/harry/misc ext4 user,uid=1000,gid=1050 0 0
I've tried several different rendition but far as I can tell the line
above should work.

I'm probably making some terribly obvious error but failing to see
what it is.


I'm guessing you have a folder named "misc" in /home/harry/ ?

This is what I would use, make it noauto if you want:
'/dev/sdd1 /home/harry/misc ext4 auto,users,exec,relatime 0 0'
--
Jimmy Johnson

Debian-Live - Wheezy - KDE 4.8.4 - AMD64 - EXT4 at sda1
Registered Linux User #380263


Reply to: