FreeBSD Bugzilla – Attachment 86842 Details for
Bug 123343
[patch] Fix $USER in Handbook Section 18.5
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
disks.patch.2.diff
disks.patch.2.diff (text/plain), 1.83 KB, created by
Gabor Pali
on 2008-05-02 21:10:02 UTC
(
hide
)
Description:
disks.patch.2.diff
Filename:
MIME Type:
Creator:
Gabor Pali
Created:
2008-05-02 21:10:02 UTC
Size:
1.83 KB
patch
obsolete
>Index: chapter.sgml >=================================================================== >RCS file: /doc/en_US.ISO8859-1/books/handbook/disks/chapter.sgml,v >retrieving revision 1.282 >diff -u -r1.282 chapter.sgml >--- chapter.sgml 25 Mar 2008 08:43:38 -0000 1.282 >+++ chapter.sgml 2 May 2008 19:40:59 -0000 >@@ -858,19 +858,19 @@ > the user that is to mount the file system. One way to do that > is for <username>root</username> to create a subdirectory > owned by that user as >- <filename>/mnt/<replaceable>$USER</replaceable></filename> >- (replace <replaceable>$USER</replaceable> by the login name of >+ <filename>/mnt/<replaceable>username</replaceable></filename> >+ (replace <replaceable>username</replaceable> by the login name of > the actual user):</para> > >- <screen>&prompt.root; <userinput>mkdir /mnt/$USER</userinput> >-&prompt.root; <userinput>chown <replaceable>$USER</replaceable>:<replaceable>$USER</replaceable> /mnt/<replaceable>$USER</replaceable></userinput></screen> >+ <screen>&prompt.root; <userinput>mkdir /mnt/<replaceable>username</replaceable></userinput> >+&prompt.root; <userinput>chown <replaceable>user</replaceable>:<replaceable>user</replaceable> /mnt/<replaceable>user</replaceable></userinput></screen> > > <para>Suppose a USB thumbdrive is plugged in, and a device > <filename>/dev/da0s1</filename> appears. Since these devices > usually come preformatted with a FAT file system, one can > mount them like this:</para> > >- <screen>&prompt.user; <userinput>mount -t msdosfs -m 644 -M 755 /dev/da0s1 /mnt/<replaceable>$USER</replaceable></userinput></screen> >+ <screen>&prompt.user; <userinput>mount -t msdosfs -m 644 -M 755 /dev/da0s1 /mnt/<replaceable>username</replaceable></userinput></screen> > > <para>If you unplug the device (the disk must be unmounted > before), you should see, in the system message buffer,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 123343
: 86842 |
86843