A permissions puzzle

Eliot Moss moss@cs.umass.edu
Mon Dec 23 16:58:00 GMT 2019


On 12/23/2019 3:55 AM, Brian Inglis wrote:> On 2019年12月22日 20:16, Eliot Moss wrote:
 >>
 >> So can a \\?\Volume{...} guid name for a volume be used in Cygwin's fstab?
 >> What would the syntax be like for that?
 >
 > Each entry must be on a single line:
 >
 > #|/bin/cygwin1.dll
 > # /etc/fstab - https://cygwin.com/cygwin-ug-net/using.html#mount-table
 > # dump	dump
 > # mixed path	 file		vfstype		mntops		freq	passno
 > #C:/cygwin64	 /		ntfs		auto,binary	1	1
 > #C:/cygwin64/bin /usr/bin	ntfs		auto,binary	1	1
 > #C:/cygwin64/lib /usr/lib	ntfs		auto,binary	1	1
 > #C:		 /cygdrive/c	ntfs		auto,binary,posix=0,noumount,	
 > 							user	1	1
 > #none		 /cygdrive	cygdrive	auto,binary,posix=0,	
 > 							user	0	0
 > #none		 /tmp		usertemp	binary,posix=0	0	0
 > //?/Volume{...}	 /media/name	fat|ntfs	[no]acl*,binary*|text,bind,dos,
 > 						[cyg|not]exec,ihash,override,
 > 						posix=0|1*,sparse,[no]umount*,
 > 						[no*]user	0	0
 > #						defaults flagged *
Thank you, Brian. I have tried this:
none /cygdrive cygdrive binary,posix=0,user 0 0
//?/Volume{13cb9114-4267-4a7b-8c14-2cbc4bbeecad} /media/backup ntfs noacl,binary,posix=0,user 0 0
The uid is what is shown in /proc/sys/GLOBAL??/Volume{...} and /media exists.
mount -a says: mount: /media/backup: Invalid argument
I tried also creating an empty directory /media/backup, with the same result.
The drive sill mounts automatically on /cygdrive/d (as I would expect).
Thoughts?
Eliot
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /