Commit Graph

113 Commits

Author SHA1 Message Date
billf
5f4efefebc Stuff a variable declaration inside a #if block that is only used for that
#if.
1999-09-25 02:11:30 +00:00
billf
04286a15ad Remove declaration of getenv(), we get that from stdlib.h already. 1999-09-25 02:10:38 +00:00
peter
76f0c923fe $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
dwhite
eb58c0d8ed Add -e option to usage(). 1999-08-25 21:31:08 +00:00
phk
78878d252b Add new option to fdisk: -e
This wipes the MBR and creates slice 1 as a FreeBSD slice covering the
disk starting from the second track to the cylinder aligned end of the disk.

This is the most compatibly layout we have as far as I know.
1999-08-23 11:06:19 +00:00
rnordier
db2d7d3fb6 Drop the embedded boot code in favour of a -B option which reads
the boot code from /boot/mbr, or elsewhere as defined by the revised
"-b bootcode" option; use getopt(3); clarify usage(); partially
revise man page; etc.
1999-06-27 19:29:15 +00:00
jkh
395a4557a1 This lets you specify "gemdosfs", "shortnames", "longnames", and
"nowin95" as arguments to the "-o" flag, as alternatives to "-G", "-s",
"-l", and "-9"; when running "mount_msdos" by hand, that doesn't let you
do anything you couldn't already do, but if you're letting "mount" run
it, it lets you specify those options, which is especially useful if,
for example, you have an entry in "/etc/fstab" for some file system,
with "noauto" set, so you can conveniently mount a DOS partition from a
removable drive and force it to treat the file system as VFAT rather
than boring old FAT.

Submitted by:	Guy Harris <guy@netapp.com>
1999-06-18 12:05:02 +00:00
rnordier
67676551e8 Note that a standard MBR supports booting only from hard drive 0 1999-03-13 01:40:57 +00:00
rnordier
d9ddeeb1b6 Note that nextboot requires the legacy boot code. 1999-02-05 09:58:39 +00:00
rnordier
6f61fb4448 Add a -b option as a simple way to rewrite the mbr code
(eg. replacing a boot manager with a standard mbr)
1999-01-22 11:54:17 +00:00
dt
88c4835f18 Update to match rev. 1.28 of msdosfs_lookup.c. 1999-01-11 18:35:14 +00:00
joerg
d77f34aad8 sd0 -> da0 1998-11-26 12:24:35 +00:00
alex
fe3661b3bc Add an entry for the new NetBSD partition id. 1998-11-06 03:43:21 +00:00
jkoshy
f3b4d13e58 Add an entry for BSD/OS [23].x partition types.
I don't have access to a BSD/OS machine to check the veracity of the
magic number.  However, no harm will be done by the commit and since
someone was motivated enough to file a PR, I'm committing the change.

PR:		7629
Submitted by:	Jos Backus <jbackus@plex.nl>
1998-11-06 03:25:56 +00:00
obrien
339a231363 Linux swap and Solaris x86 use the same BIOS partition id. 1998-09-16 19:25:47 +00:00
gpalmer
1f2b7138e5 Split lines into one subdir per line. 1998-08-30 20:28:50 +00:00
charnier
a6ba9a0903 Correct use of .Nm, use .Bx Free for FreeBSD. Add rcsid, remove unused
#includes. Spelling. Use err(3) and add usage().
1998-07-06 06:44:36 +00:00
charnier
cd33291658 Add rcsid. Remove unused #includes. Use err(3) and check spelling. Reorganize
man page.
1998-06-30 06:28:18 +00:00
charnier
6dee3abbe8 Split usage string. 1998-06-30 06:23:42 +00:00
charnier
05c01b56f4 Document -r flag, document use of TAPE env variable. Add rcsid. Use err(3).
Remove unused vars (-Wall).
1998-06-30 06:22:08 +00:00
charnier
20389da2bf Add SYNOPSIS section and change NULL to NUL in man page. Add rcsid, missing
#includes. Use err(3).
1998-06-30 06:12:44 +00:00
charnier
8ec6fdf54b Add rcsid. Remove unused #includes. Use err(3). 1998-06-30 06:09:37 +00:00
bde
31e25f7859 Fixed printf format errors. 1998-06-28 20:48:03 +00:00
bde
76120f12e5 Fixed printf format errors. 1998-06-28 20:42:49 +00:00
steve
512321f97c Fix a spelling error.
PR:		6857
Submitted by:	Josh Gilliam <josh@quick.net>
1998-06-04 21:09:08 +00:00
jraynard
772c68cbf5 Fix typo in prompt. 1998-05-20 22:23:16 +00:00
obrien
ab7e5a8f6b Add NTFS partition type.
Add "." at the end of some sentances.
Also print "flag 80" in English.
Give hint that "sysid" for FreeBSD is 165 decimal.
Ensure active partition specified by user is 1-4.
1998-03-29 23:41:51 +00:00
charnier
b0b8c2ff22 Use .An/.Aq. 1998-03-19 07:47:10 +00:00
ache
fb0b69a9d2 Add more DOS/Win95 partition types 1998-03-14 21:22:09 +00:00
ache
03dc84e1ed Oops, merge back 32bit fat description from -stable.
It was added to -stable but not to -current, strange.
1998-03-07 22:00:31 +00:00
ache
1bc27d9539 Add primary fat-32 1998-03-07 08:45:46 +00:00
ache
f8ae2c2c9e Add more info about special characters in dos2unix/unix2dos tables 1998-03-01 08:41:05 +00:00
ache
dce2589b36 Add more info about -W option 1998-02-23 17:29:08 +00:00
ache
7cc26bd85b Note that default local charset assumed as ISO 8859-1 1998-02-23 17:20:07 +00:00
ache
24cabc92c3 Implement loadable DOS<->local conversion tables for DOS names
Additionly load toupper table to create DOS names always in uppercase
1998-02-23 16:49:16 +00:00
ache
03cc3500d9 Implement loadable upper->lower local conversion table
Recently introduced -w renamed to -W
1998-02-23 09:41:02 +00:00
ache
d7649e6694 Add missing DESTDIR 1998-02-23 09:15:01 +00:00
ache
95bf5e413f Add loadable local<->Unicode conversion support for Win95 names
Note: DOS names still not work and require similar changes
1998-02-22 15:28:06 +00:00
jkh
fefaf13d74 Support for FAT32 partitions.
Submitted by:	Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
Obtained from:	NetBSD
1998-02-18 09:30:31 +00:00
bde
d53ef8ee6e Removed definition of _NEW_VFSCONF. The new vfsconf interface is now
the default.
1998-01-20 10:40:18 +00:00
bde
1dee0886bd Fixed some FUD (don't blame current msdosfs for old msdosfs+vfs_bio bugs). 1997-12-19 23:03:00 +00:00
bde
1c795f36be Don't install mount_msdos setuid root. Lite2's mount(2) handles
permissions centrally and a setuid root mount utility just breaks
its security.  There was no new breakage in practice because
mfdosfs_mount() still checks the ruid.
1997-10-21 07:26:50 +00:00
phk
d8ac409160 Many places in the code NULL is used in integer context, where
plain 0 should be used.  This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.

PR:		2752
Submitted by:	Arne Henrik Juul <arnej@imf.unit.no>
1997-09-18 14:08:40 +00:00
bde
e79f489cc2 Support all mount flags that are supported in the kernel. 1997-08-25 20:23:16 +00:00
steve
7a5541cde7 Show the real revision date and not the date that this
manpage is being viewed.
1997-06-23 04:03:49 +00:00
brian
864e7b2e63 Number partitions 1-4, not 0-3.
Any existing config files (using the -f option) will need
to be changed although using the old files will usually result
in an error (partition 0 is invalid).
1997-06-03 21:24:39 +00:00
gibbs
9ad77f813d Don't overflow when calculating the size in MB of a partition.
No more 241MB 4+ gig partitions for me!
1997-06-02 19:25:48 +00:00
imp
edf3f04212 OpenBSD uses ID 0xa6 for its partitions on i386, arc and others that need
a BIOS-like partition table.  We now detect this correctly and print the
right thing.
Obtained from: Value obtained from OpenBSD sources.
1997-05-02 03:08:04 +00:00
danny
24026ebd29 Spelling police. 1997-04-23 04:46:38 +00:00
imp
167db52912 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 03:33:12 +00:00