[Grml] Re: Re: Re: config id used in grml-rebuildfstab

T mlist4suntong at yahoo.com
Fri Oct 27 16:12:01 CEST 2006


On Fri, 27 Oct 2006 12:02:37 +0200, Michael Prokop wrote:

>> I saw in the script that it uses "-g users", which is 100 in my system,
>> but why files show up as group id 1000? ...
> 
> Please show the entry for the device in /etc/fstab where the above
> files are hanging around, plus the corresponding "mount"-output.

 $ tail -3 /var/log/messages 
 Oct 27 10:02:26 cxmr kernel: sd 3:0:0:0: Attached scsi removable disk sdb
 Oct 27 10:02:28 cxmr rebuildfstab[6704]: re-generating /etc/fstab - see 'man rebuildfstab'
 Oct 27 10:02:33 cxmr rebuildfstab[7051]: re-generating /etc/fstab - see 'man rebuildfstab'

 $ grep /mnt/usb-sd /etc/fstab
 /dev/usb-sdb /mnt/usb-sdb auto user,noauto,nodev,noatime,nosuid,noexec,rw,uid=1000,gid=1000 0 0
 /dev/usb-sdb1 /mnt/usb-sdb1 auto user,noauto,nodev,noatime,nosuid,noexec,rw,uid=1000,gid=1000 0 0

 % mount /mnt/usb-sdb1

 $ ls -l /mnt/usb-sdb1
 total 16
 drwxr-xr-x 3 1000 1000 16384 2006-04-23  dcim/

 $ apt-cache policy grml-rebuildfstab
 grml-rebuildfstab:
   Installed: 0.3-12
   Candidate: 0.3-12
   Version table:
  *** 0.3-12 0
	 683 http://grml.org ./ Packages
	 100 /var/lib/dpkg/status

Further question, why is rebuildfstab called twice?

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/





More information about the Grml mailing list