A good place to look if you want to figure out how to convert a command line mount to a fstab mount is /etc/mtab.
For example:
/dev/sda1 / xfs defaults 0 0
proc /proc proc defaults 0 0
/dev/sda2 none swap sw 0 0
/dev/sda3 /home xfs defaults 0 0
/dev/sda4 /export xfs defaults 0 0#
/home/fastbase/tcl /export/apps/fastbase none defaults,bind 0 0
4 comments ↓
useful!
So the basic syntax is:
#Mount dir1 onto dir2
dir1 dir2 none defaults,bind 0 0
Works well, thank you good sir!
[...] subtrees – in depth look at bind [...]
[...] mount bind Peter May wrote: > Można to jakoś rozwiązać? Może to Cię jakoś naprowadzi : http://stateless.geek.nz/2005/10/26/…ount-in-fstab/ <cytat> A good place to look if you want to figure out how to convert a command line mount [...]
Leave a Comment