Tag Info

New answers tagged

0

The other easy way is booting to live-cd mode and mount the right partition. Then you can fix anything you want!


2

SysV Init The /etc/init.d/mountall.sh init script mounts local filesystems only: mount -a -t nonfs,nfs4,smbfs,cifs,ncp,ncpfs,coda,ocfs2,gfs,gfs2,ceph -O no_netdev Other filesystems are mounted by separate init scripts, like for example /etc/init.d/mountnfs.sh, which declare (via LSB headers) their dependency on $network. Thus these get scheduled later, ...


3

See man fstab for the details on the fields. In short your line will be: //192.168.1.88/shares /mnt/share cifs username=USERNAME,password=PASSWD 0 0 See also man mount.cifs, especially the credentials= directive to keep the credentials apart from the fstab file.


1

Since you listed /var/cache in /etc/fstab, a tmpfs filesystem is mounted to /var/cache during the boot sequence. Any contents of /var/cache are shadowed by the mount point. The files underneath a directory on which another filesystem is mounted still exist, but they can't be reached, since a path like /var/cache/foo goes into the other filesystem. For more ...


1

The mount hides, or shadows, anything already present in the given directory (this may cause fun problems if the permissions are wrong on the thus shadowed dir). So when the tmpfs mount is removed, the original stuff will be there. (If the cache will need to persist, you could mv /var/cache /var/cache.save, and then do rsync things after the tmpfs is first ...


1

To include the options you want, you should modify your fstab entry as shown below. Be careful, as adding an option that doesn't actually exist will cause your system not to boot. sshfs#wbarlow@remote:/home/wbarlow/dev /home/wbarlow/dev fuse defaults,users,noauto,idmap=user,Ciphers=arcfour,Compression=no,reconnect 0 0 I tested it by Inspecting the ...



Top 50 recent answers are included