Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
slackbook:working_with_filesystems [2012/09/12 21:34 (UTC)]
mfillpot updated code block to syntax highlighting
slackbook:working_with_filesystems [2012/10/14 15:58 (UTC)]
mfillpot removed all bash flags
Line 164: Line 164:
  
  
-<​code ​bash>+<​code>​
 darkstar:~# mount -t vfat /dev/hda4 /mnt/hd -o uid=alan darkstar:~# mount -t vfat /dev/hda4 /mnt/hd -o uid=alan
 </​code>​ </​code>​
Line 179: Line 179:
  
  
-<​code ​bash>+<​code>​
 darkstar:~# cat /etc/fstab darkstar:~# cat /etc/fstab
 /​dev/​hda1 ​       /                reiserfs ​   defaults ​              ​1 ​  1 /​dev/​hda1 ​       /                reiserfs ​   defaults ​              ​1 ​  1
Line 195: Line 195:
  
  
-<​code ​bash>+<​code>​
 darkstar:~# mount /dev/cdrom darkstar:~# mount /dev/cdrom
 darkstar:~# mount /home darkstar:~# mount /home
Line 224: Line 224:
  
  
-<​code ​bash>+<​code>​
 darkstar:~# chmod +x /​etc/​rc.d/​rc.rpc darkstar:~# chmod +x /​etc/​rc.d/​rc.rpc
 darkstar:~# /​etc/​rc.d/​rc.rpc start darkstar:~# /​etc/​rc.d/​rc.rpc start
Line 236: Line 236:
  
  
-<​code ​bash>+<​code>​
 darkstar:~# mount -t nfs darkstar.example.com:/​home /home darkstar:~# mount -t nfs darkstar.example.com:/​home /home
 </​code>​ </​code>​
Line 293: Line 293:
  
  
-<​code ​bash>+<​code>​
 darkstar:~# mount -t cifs //​darkstar/​home /home -o username=alan,​password=secret darkstar:~# mount -t cifs //​darkstar/​home /home -o username=alan,​password=secret
 </​code>​ </​code>​
Line 313: Line 313:
  
  
-<​code ​bash>+<​code>​
 darkstar:~# echo "​username=alan"​ > /​etc/​creds-home darkstar:~# echo "​username=alan"​ > /​etc/​creds-home
 darkstar:~# echo "​password=secret"​ >> /​etc/​creds-home darkstar:~# echo "​password=secret"​ >> /​etc/​creds-home

In Other Languages
QR Code
QR Code slackbook:working_with_filesystems (generated for current page)