fsdb.8 (96707) | fsdb.8 (99501) |
---|---|
1.\" $NetBSD: fsdb.8,v 1.2 1995/10/08 23:18:08 thorpej Exp $ 2.\" 3.\" Copyright (c) 1995 John T. Kohl 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 12 unchanged lines hidden (view full) --- 21.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 23.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 25.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 26.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27.\" POSSIBILITY OF SUCH DAMAGE. 28.\" | 1.\" $NetBSD: fsdb.8,v 1.2 1995/10/08 23:18:08 thorpej Exp $ 2.\" 3.\" Copyright (c) 1995 John T. Kohl 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 12 unchanged lines hidden (view full) --- 21.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 23.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 25.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 26.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27.\" POSSIBILITY OF SUCH DAMAGE. 28.\" |
29.\" $FreeBSD: head/sbin/fsdb/fsdb.8 96707 2002-05-16 04:10:46Z trhodes $ | 29.\" $FreeBSD: head/sbin/fsdb/fsdb.8 99501 2002-07-06 19:34:18Z charnier $ |
30.\" 31.Dd September 14, 1995 32.Dt FSDB 8 33.Os 34.Sh NAME 35.Nm fsdb 36.Nd FFS debugging/editing tool 37.Sh SYNOPSIS 38.Nm 39.Op Fl d 40.Op Fl f 41.Op Fl r 42.Ar fsname 43.Sh DESCRIPTION | 30.\" 31.Dd September 14, 1995 32.Dt FSDB 8 33.Os 34.Sh NAME 35.Nm fsdb 36.Nd FFS debugging/editing tool 37.Sh SYNOPSIS 38.Nm 39.Op Fl d 40.Op Fl f 41.Op Fl r 42.Ar fsname 43.Sh DESCRIPTION |
44.Nm Fsdb 45opens | 44The 45.Nm 46utility opens |
46.Ar fsname 47(usually a raw disk partition) and runs a command loop 48allowing manipulation of the filesystem's inode data. You are prompted 49to enter a command with 50.Ic "fsdb (inum X)>" 51where 52.Va X 53is the currently selected i-number. The initial selected inode is the --- 167 unchanged lines hidden (view full) --- 221try changing a symlink's type). 222.Pp 223You must specify modes as numbers rather than symbolic names. 224.Pp 225There are a bunch of other things that you might want to do which 226.Nm 227doesn't implement. 228.Sh HISTORY | 47.Ar fsname 48(usually a raw disk partition) and runs a command loop 49allowing manipulation of the filesystem's inode data. You are prompted 50to enter a command with 51.Ic "fsdb (inum X)>" 52where 53.Va X 54is the currently selected i-number. The initial selected inode is the --- 167 unchanged lines hidden (view full) --- 222try changing a symlink's type). 223.Pp 224You must specify modes as numbers rather than symbolic names. 225.Pp 226There are a bunch of other things that you might want to do which 227.Nm 228doesn't implement. 229.Sh HISTORY |
229.Nm Fsdb 230uses the source code for | 230The 231.Nm 232utility uses the source code for |
231.Xr fsck 8 232to implement most of the filesystem manipulation code. The remainder of 233.Nm 234first appeared in 235.Nx , 236written by 237.An John T. Kohl . 238.Pp 239.An Peter Wemm 240ported it to 241.Fx . 242.Sh WARNING 243Use this tool with extreme caution--you can damage an FFS filesystem 244beyond what 245.Xr fsck 8 246can repair. | 233.Xr fsck 8 234to implement most of the filesystem manipulation code. The remainder of 235.Nm 236first appeared in 237.Nx , 238written by 239.An John T. Kohl . 240.Pp 241.An Peter Wemm 242ported it to 243.Fx . 244.Sh WARNING 245Use this tool with extreme caution--you can damage an FFS filesystem 246beyond what 247.Xr fsck 8 248can repair. |