ace8688f711b45757470d7ac51cbe705b36ef606
[grml-scripts.git] / manpages / grml-bind.8
1 .TH grml\-bind 8 "2005-05-29" "grml-bind"
2 .SH "NAME"
3 grml\-bind \- a program to prepare a file on a read-only filesystem for writing
4 .SH SYNOPSIS
5 .B grml\-bind
6 .RI [ OPTIONS ] " <file/directory you want to edit>"
7 .SH DESCRIPTION
8 grml-bind is a program to prepare a file on a read-only filesystem for writing.
9 It copies the file to a ramdisk and mount --bind it back.
10 Very usefull for distributions like grml.
11 .SH OPTIONS
12 .TP
13 .B \-h
14 Show summary of options.
15 .TP
16 .B \-c
17 Create the file-mapping
18 .TP
19 .B \-r
20 Remove the file-mapping
21 .TP
22 .B \-v
23 Verbose (show what is going on)
24 .TP
25 .B \<>
26 If no Option is given, -c (create) is assumed
27 .SH EXAMPLES
28 .TP 
29 .B grml-bind -c /etc/inputrc
30 The file /etc/inputrc will be copied to /ramdisk/grml-bind/inputrc and mounted back with --bind
31 .TP
32 .B grml-bind -r /etc/inputrc
33 If you already unlocked /etc/inputrc (with grml-bind -c /etc/inputrc), then the mount will be removed and rm -r /ramdisk/grml-bind/inputrc will be executed
34 .TP
35 .B grml-bind -c /etc/vim
36 Now you can edit your vim configuration.
37 .TP
38 .B grml-bind -rc /etc/vim
39 To see what's going on
40 .SH BUGS/LIMITATIONS
41 .TP
42 .B no hardlinks
43 grml-bind can not work with hardlinks because grml-bind copies the files to another filesystem.
44 So hardlinks do not work.
45 .TP
46 .B only one mapping with the same name
47 grml-bind /a/b && grml-bind /c/b  (will not work)
48 .SH AUTHOR
49 This manual page was written by the grml-team. http://grml.org/ (c)Michael Gebetsroither <gebi@grml.org>