Commit Graph

6013 Commits

Author SHA1 Message Date
soren 2d96a254f8 TRIM showed up sometime between ATA-7 and ATA-8. 2013-08-06 19:13:13 +00:00
reinoud 254934d244 Switch back program version to the version of the newfs_udf/makefs code.
While here, visit the 80 columns police :)
2013-08-06 13:15:30 +00:00
reinoud fd80b116d5 Oops, forgot to export a_udf_version() that checks if the input string is a
valid UDF version notation.
2013-08-06 12:49:13 +00:00
wiz 5d1c7f9125 Fix article. 2013-08-06 12:15:20 +00:00
wiz b37178189d Sort sections. Remove superfluous Ed. 2013-08-06 12:14:43 +00:00
reinoud 67b0bef892 Clarify volumeset name restrictions when specifying it in newfs_udf(8) 2013-08-06 11:57:25 +00:00
reinoud 933037aa09 Fix misplaced BUGS section and fix layout 2013-08-06 11:38:51 +00:00
reinoud 3551bde30d Fix memory leaks found by Coverity and fix memoryleaks in the new code 2013-08-06 08:18:08 +00:00
reinoud 950c47822d Fix newfs(8) to compile again. 2013-08-05 20:52:08 +00:00
joerg 9656a3f6dc Allow building UDF parts of makefs on !NetBSD. 2013-08-05 17:12:04 +00:00
reinoud 94ec67ed92 Fix memset() arguments to use the right type for sizeof() and streamline its
use of sizeof() to allways use the right type.
2013-08-05 16:44:58 +00:00
wiz 43ccd8ccbb Sort. 2013-08-05 14:28:48 +00:00
reinoud 1b03698582 Adjust newfs_udf to be sharing code with the new `makefs -t udf' to be
comitted.
2013-08-05 14:11:30 +00:00
soren 35985c7122 Don't use \t to align text columns.
Add a few attribute descriptions.
2013-08-03 18:35:31 +00:00
kefren 708985b712 Add -tag description as suggested in PR/45071 2013-07-24 06:28:10 +00:00
wiz a5684d07dd Use Mt for email addresses. 2013-07-20 21:39:55 +00:00
matt 625db931b8 Use MACHINE_CPU with m68k (m68000 will not be matched due to MKPIC=no) 2013-07-18 21:59:46 +00:00
reinoud b26724915d Add comment to udf_do_rootdir(). Might eventually be moved to newfs_udf(8) 2013-07-18 12:50:51 +00:00
reinoud a2747c513b Initial split up for making newfs_udf(8) routines suitable for makefs_udf(8) 2013-07-18 12:44:21 +00:00
christos d8748c5de0 print the next parser name instead of just the pointer in debugging. 2013-07-17 15:42:03 +00:00
christos ee1471609b Allow -v to be used with other commands (list scan for example) as documented. 2013-07-17 15:40:42 +00:00
khorben 257dd81b98 Let init be built easily with the CHROOT capability enabled.
This allows the ramdisk used in the incoming support for full-disk encryption to contain crunched binaries (much like sysinst) while booting a regular system (unlike sysinst).
2013-07-15 00:18:03 +00:00
wiz 9f55e7c8e5 Sort sections. New sentence, new line. Fix macro. 2013-07-02 20:53:10 +00:00
reinoud c7950296a0 Update newfs_udf to allow for creating file images with -F and specifying
sector sizes with -S.

For this i had to recycle the -S parameter but its preserved as an extension
to the -P parameter. These parameters are hardly ever use though since using
either or both the origional -S and the -P parameter without specific values
would break the standard. Also the -F now has a double meaning.
2013-07-02 14:59:01 +00:00
christos b8a7bdb609 move proto to small 2013-07-02 01:39:17 +00:00
christos 958c0aac6e Instead of borrowing the mount code to get the nfs arguments, just use
the system call directly. It is shorter and works...
2013-07-01 15:16:33 +00:00
christos 3a4a09ca06 one copy of the name is enough, and free it. 2013-06-29 23:06:29 +00:00
christos 18c826e11c declare the variables that getnfsargs need in getnfsargs so that they can
easily be used from other programs.
2013-06-29 22:56:26 +00:00
christos da960e0858 Use the protocol we mounted the filesystem with instead of always udp.
(untested, but should fail back to udp).
2013-06-29 22:53:04 +00:00
reinoud 052045ad4c Small rewording of the examples section. 2013-06-29 20:41:47 +00:00
riz 78ae231e57 Display the load address of modules. PR bin/47951. 2013-06-26 17:55:38 +00:00
dholland 75571afd93 Stick ffs_ in front of the following macros:
fragstoblks()
   blkstofrags()
   fragnum()
   blknum()

to finish the job of distinguishing them from the lfs versions, which
Christos renamed the other day.

I believe this is the last of the overtly ambiguous exported symbols
from ffs... or at least, the last of the ones that conflicted with lfs.
ffs still pollutes the C namespace very broadly (as does ufs) and this
needs quite a bit more cleanup.

XXX: boo on macros with lowercase names. But I'm not tackling that just yet.
2013-06-23 22:03:34 +00:00
dholland e1610ba4cb Stick ffs_, ext2_, chfs_, filecore_, cd9660_, or mfs_ in front of
the following symbols so as to disambiguate fully. (Christos already
did the lfs ones.)

   lblkno
   lblktosize
   lfragtosize
   numfrags
   blkroundup
   fragroundup
2013-06-23 07:28:36 +00:00
dholland cc2e18968d Revert accidental commit of the change for PR 47911; got rolled into
other stuff by mistake.
2013-06-23 04:14:28 +00:00
dholland 2737439da3 fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB()
dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB()

(Christos already did the lfs ones a few days back)
2013-06-23 02:06:04 +00:00
dholland de893df3a9 blkoff() -> ffs_blkoff() stragglers 2013-06-19 18:02:21 +00:00
dholland f1333577b5 Rename ambiguous macros:
MAXDIRSIZE -> UFS_MAXDIRSIZE or LFS_MAXDIRSIZE
   NINDIR -> FFS_NINDIR, EXT2_NINDIR, LFS_NINDIR, or MFS_NINDIR
   INOPB -> FFS_INOPB, LFS_INOPB
   INOPF -> FFS_INOPF, LFS_INOPF
   blksize -> ffs_blksize, ext2_blksize, or lfs_blksize
   sblksize -> ffs_blksize

These are not the only ambiguously defined filesystem macros, of
course, there's a pile more. I may not have found all the ambiguous
definitions of blksize(), too, as there are a lot of other things
called 'blksize' in the system.
2013-06-19 17:51:25 +00:00
dholland 8c01dce56b Make this build again. hi christos 2013-06-19 06:15:54 +00:00
christos d418f0d0f1 make this compile again 2013-06-19 01:07:55 +00:00
christos 855bb66ef7 Prefix most of the cpp macros with lfs_ and LFS_ to avoid conflicts with ffs.
This was done so that boot blocks that want to compile both FFS and LFS in
the same file work.
2013-06-18 18:18:57 +00:00
christos 289b275fc3 revert part of previous commit 2013-06-15 12:29:02 +00:00
christos 78f1cd9f5b handle new lfs split 2013-06-15 01:27:19 +00:00
christos ec6fb31453 fix compilation 2013-06-15 01:26:48 +00:00
tsutsui c7276dbc04 Remove old workaround for Cygwin.
http://mail-index.netbsd.org/source-changes/2003/05/08/0042.html

16bit dev_t for !__CYGWIN_USE_BIG_TYPES__ was removed in Cygwin 1.7.2
http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/types.h?cvsroot=src#rev1.32
and __dev32_t has been removed since 1.7.19.
http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/types.h?cvsroot=src#rev1.36
2013-06-14 16:28:20 +00:00
christos 2882a9c896 List all cgd's no matter if they are not contiguously allocated 2013-06-09 18:37:40 +00:00
dholland 9daf003ef2 Stick UFS_ in front of these symbols:
DIRBLKSIZ
   DIRECTSIZ
   DIRSIZ
   OLDDIRFMT
   NEWDIRFMT

Part of PR 47909.

(two stragglers in this commit; oops)
2013-06-09 18:29:25 +00:00
dholland 5a420c1b9a Stick UFS_ in front of these symbols:
DIRBLKSIZ
   DIRECTSIZ
   DIRSIZ
   OLDDIRFMT
   NEWDIRFMT

Part of PR 47909.
2013-06-09 17:57:08 +00:00
dholland dc37d54c5e Add unsafe hacks to make this build going forward.
XXX: unsafe hacks are unsafe -- dump needs to be cleaned up to make
XXX: it more fs-independent.
2013-06-08 23:37:37 +00:00
dholland 602ba1f79c dp->di_u.inumber -> dp->di_inumber
Should have been part of the previous changeset that applied that
change to lfs.h. I'd quite like to know why the test build I ran
didn't trip on this.
2013-06-08 23:12:13 +00:00
dholland a65dc3fc86 Redo these changes properly:
-r1.12 libexec/lfs_cleanerd/Makefile
 -r1.15 sbin/fsck_lfs/Makefile
 -r1.6 sbin/newfs_lfs/Makefile

hi ad@
2013-06-08 21:13:19 +00:00