From 24b5978b1a944568b20f7dcb98aea944297bff44 Mon Sep 17 00:00:00 2001 From: Manolis Kiagias Date: Fri, 3 Oct 2008 19:16:10 +0000 Subject: [PATCH] Fix two examples in the 'ubs-disks' section Reviewed by: pgj, keramida, trhodes --- en_US.ISO8859-1/books/handbook/disks/chapter.sgml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/disks/chapter.sgml b/en_US.ISO8859-1/books/handbook/disks/chapter.sgml index 32ac60fbda..0eafed19da 100644 --- a/en_US.ISO8859-1/books/handbook/disks/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/disks/chapter.sgml @@ -860,17 +860,18 @@ add path 'da*' mode 0660 group operator owned by that user as /mnt/username (replace username by the login name of - the actual user): + the actual user and usergroup by the + user's primary group): &prompt.root; mkdir /mnt/username -&prompt.root; chown user:user /mnt/user +&prompt.root; chown username:usergroup /mnt/username Suppose a USB thumbdrive is plugged in, and a device /dev/da0s1 appears. Since these devices usually come preformatted with a FAT file system, one can mount them like this: - &prompt.user; mount -t msdosfs -m 644 -M 755 /dev/da0s1 /mnt/username + &prompt.user; mount -t msdosfs -o -m=644,-M=755 /dev/da0s1 /mnt/username If you unplug the device (the disk must be unmounted before), you should see, in the system message buffer,