User Tools

Site Tools


removable_disk

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
removable_disk [2010/05/14 22:17]
modulistic avoid reserving blocks for super user in call to mkfs.ext3 which are quite a waste of space in this case
removable_disk [2010/11/12 20:08] (current)
darrick
Line 170: Line 170:
 ====7. Installing vchanger==== ====7. Installing vchanger====
  
-Place a copy of the [[#​vchanger|vchanger shell script]] in the /etc/bacula directory, than change its owner and permissions as foolows:+Place a copy of the [[#​vchanger|vchanger shell script]] in the /etc/bacula directory, than change its owner and permissions as follows:
  
   chown root.disk /​etc/​bacula/​vchanger   chown root.disk /​etc/​bacula/​vchanger
Line 386: Line 386:
 # Return length of string $1 # Return length of string $1
 # #
-function strlen () +if [ `uname` = "​FreeBSD"​ ] 
-+then 
-   ​expr length $1 +        ​function strlen () 
-}+        
 +                expr -- "​$1"​ : "​.*"​ 
 +        } 
 +else 
 +        function strlen () 
 +        { 
 +                ​expr length $1 
 +        } 
 +fi 
  
 # #
removable_disk.1273871864.txt.gz · Last modified: 2010/05/14 22:17 by modulistic