summaryrefslogtreecommitdiff
path: root/ezjail-admin
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2007-02-22 16:01:09 +0000
committererdgeist <erdgeist@erdgeist.org>2007-02-22 16:01:09 +0000
commit2cb3c00485f23705ef02c6b9aba61ec83edb7e02 (patch)
tree454922b0af1bc73d2faa4be4bbe6aea180809479 /ezjail-admin
parent31ac44c0ff18dfb44af82e45d6cb498ef6972f13 (diff)
Try fscking the correct way. Have not yet figured it out completely
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-xezjail-admin6
1 files changed, 5 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 9b9f699..cc9cb12 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -774,6 +774,9 @@ config)
774 # Attach images by type 774 # Attach images by type
775 attach_images 775 attach_images
776 776
777 # Clean image
778 fsck -t ufs -p -B /dev/${ezjail_device}
779
777 mount /dev/${ezjail_device} ${ezjail_rootdir} || detach_images keep || exerr "Error: Could not mount /dev/${ezjail_device} to ${ezjail_rootdir}." 780 mount /dev/${ezjail_device} ${ezjail_rootdir} || detach_images keep || exerr "Error: Could not mount /dev/${ezjail_device} to ${ezjail_rootdir}."
778 # relink image device 781 # relink image device
779 ln -s /dev/${ezjail_device} ${ezjail_rootdir}.device 782 ln -s /dev/${ezjail_device} ${ezjail_rootdir}.device
@@ -806,7 +809,8 @@ config)
806 # Attach images by type 809 # Attach images by type
807 attach_images 810 attach_images
808 811
809 fsck_ufs /dev/${ezjail_device} 812 # Clean image
813 fsck -t ufs /dev/${ezjail_device}
810 814
811 # Detach images by type 815 # Detach images by type
812 detach_images keep 816 detach_images keep