OpenBSD CVS

CVS log for src/sys/msdosfs/msdosfs_vfsops.c


[BACK] Up to [local] / src / sys / msdosfs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.97 / (download) - annotate - [select for diffs], Mon Jul 17 09:41:20 2023 UTC (10 months, 2 weeks ago) by semarie
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, HEAD
Changes since 1.96: +4 -13 lines
Diff to previous 1.96 (colored)

vfs: drop several macros hidding eopnotsupp

make it obvious in the vfsops assignment that an op isnt supported.

from thib4711 at mailbox dot org
ok claudio@

Revision 1.96 / (download) - annotate - [select for diffs], Fri Aug 12 14:30:52 2022 UTC (21 months, 3 weeks ago) by visa
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.95: +9 -3 lines
Diff to previous 1.95 (colored)

Put more struct vnode fields under splbio().

Buffer cache related struct vnode fields can be accessed in interrupt
context. Be more consistent with the use of splbio().

OK mpi@

Revision 1.95 / (download) - annotate - [select for diffs], Sat Nov 13 18:18:59 2021 UTC (2 years, 6 months ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.94: +3 -20 lines
Diff to previous 1.94 (colored)

Use long filenames by default on FAT filesystems

These days, 8.3 filenames are often a problem, filesystems containing
firmware with long names must not truncate them -- it's also a sane default
as portable file system between OSes, anyway.

Altough undocumented in mount_msdos(8), the default for FAT32 already is to
use long filenames:  ever since its import from NetBSD in 1998.

Previously, mount_msdos would ignore long filenames and default to short
filenames unless a flag was used or long ones were found on the filesystem
prior to mounting it.

Just always mount with support for long filenames (unless `-s' is used).


As various install media use FAT filesystems, adjust the remaining ones to
also pass explicit mount option reflecting the previous default.

OK deraadt

Revision 1.94 / (download) - annotate - [select for diffs], Mon Aug 10 05:18:46 2020 UTC (3 years, 9 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.93: +3 -3 lines
Diff to previous 1.93 (colored)

consistently return EINVAL on invalid BPB

reverts changes from msdosfs_vfsops.c rev 1.7

Prompted by a patch from John Carmack to add an an error path when exFAT
is detected on mount to give a more helpful error message.
Returning EINVAL in the existing sanity checks will make mount_msdos(8)
print "not an MSDOS filesystem" when attempting to mount exFAT and
matches historic and documented behaviour.

ok kn@

Revision 1.93 / (download) - annotate - [select for diffs], Fri Jan 24 03:49:34 2020 UTC (4 years, 4 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.92: +1 -9 lines
Diff to previous 1.92 (colored)

remove a notyet that remains more not than yet after 25 years. ok krw

Revision 1.92 / (download) - annotate - [select for diffs], Thu Dec 26 13:28:49 2019 UTC (4 years, 5 months ago) by bluhm
Branch: MAIN
Changes since 1.91: +14 -14 lines
Diff to previous 1.91 (colored)

Convert struct vfsops initializer to C99 style.
OK visa@

Revision 1.91 / (download) - annotate - [select for diffs], Thu Jul 25 01:43:21 2019 UTC (4 years, 10 months ago) by cheloha
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.90: +2 -2 lines
Diff to previous 1.90 (colored)

vinvalbuf(9): tlseep -> tsleep_nsec(9); ok millert@

Revision 1.90 / (download) - annotate - [select for diffs], Sun May 27 06:02:15 2018 UTC (6 years ago) by visa
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.89: +2 -2 lines
Diff to previous 1.89 (colored)

Drop unnecessary `p' parameter from vget(9).

OK mpi@

Revision 1.89 / (download) - annotate - [select for diffs], Wed May 2 02:24:56 2018 UTC (6 years, 1 month ago) by visa
Branch: MAIN
Changes since 1.88: +5 -5 lines
Diff to previous 1.88 (colored)

Remove proc from the parameters of vn_lock(). The parameter is
unnecessary because curproc always does the locking.

OK mpi@

Revision 1.88 / (download) - annotate - [select for diffs], Sat Apr 28 03:13:05 2018 UTC (6 years, 1 month ago) by visa
Branch: MAIN
Changes since 1.87: +5 -5 lines
Diff to previous 1.87 (colored)

Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is always
curproc that does the locking or unlocking, so the proc parameter
is pointless and can be dropped.

OK mpi@, deraadt@

Revision 1.87 / (download) - annotate - [select for diffs], Sat Feb 10 05:24:23 2018 UTC (6 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.86: +5 -4 lines
Diff to previous 1.86 (colored)

Syncronize filesystems to disk when suspending.  Each mountpoint's vnodes
are pushed to disk.  Dangling vnodes (unlinked files still in use) and
vnodes undergoing change by long-running syscalls are identified -- and
such filesystems are marked dirty on-disk while we are suspended (in case
power is lost, a fsck will be required).  Filesystems without dangling or
busy vnodes are marked clean, resulting in faster boots following
"battery died" circumstances.
Tested by numerous developers, thanks for the feedback.

Revision 1.86 / (download) - annotate - [select for diffs], Sat Dec 30 23:08:29 2017 UTC (6 years, 5 months ago) by guenther
Branch: MAIN
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored)

Don't pull in <sys/file.h> just to get fcntl.h

ok deraadt@ krw@

Revision 1.85 / (download) - annotate - [select for diffs], Mon Dec 11 05:27:40 2017 UTC (6 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.84: +15 -17 lines
Diff to previous 1.84 (colored)

In uvm Chuck decided backing store would not be allocated proactively
for blocks re-fetchable from the filesystem.  However at reboot time,
filesystems are unmounted, and since processes lack backing store they
are killed. Since the scheduler is still running, in some cases init is
killed... which drops us to ddb [noted by bluhm].  Solution is to convert
filesystems to read-only [proposed by kettenis]. The tale follows:
sys_reboot() should pass proc * to MD boot() to vfs_shutdown() which
completes current IO with vfs_busy VB_WRITE|VB_WAIT, then calls VFS_MOUNT()
with MNT_UPDATE | MNT_RDONLY, soon teaching us that *fs_mount() calls a
copyin() late... so store the sizes in vfsconflist[] and move the copyin()
to sys_mount()... and notice nfs_mount copyin() is size-variant, so kill
legacy struct nfs_args3.  Next we learn ffs_mount()'s MNT_UPDATE code is
sharp and rusty especially wrt softdep, so fix some bugs adn add
~MNT_SOFTDEP to the downgrade.  Some vnodes need a little more help,
so tie them to &dead_vnops.

ffs_mount calling DIOCCACHESYNC is causing a bit of grief still but
this issue is seperate and will be dealt with in time.
couple hundred reboots by bluhm and myself, advice from guenther and
others at the hut

Revision 1.84 / (download) - annotate - [select for diffs], Mon May 29 14:07:16 2017 UTC (7 years ago) by sf
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.83: +9 -2 lines
Diff to previous 1.83 (colored)

msdosfs & ffs: flush cache if updating mount from r/w to r/o

ok deraadt@

Revision 1.83 / (download) - annotate - [select for diffs], Mon Oct 10 00:34:50 2016 UTC (7 years, 7 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.82: +2 -2 lines
Diff to previous 1.82 (colored)

Rename BIOS parameter block field from bsPBP to bsBPB.  This typo
has been fixed in FreeBSD in 2002.  No binary change.
From Alexander von Gernler; OK krw@

Revision 1.82 / (download) - annotate - [select for diffs], Sun Oct 9 23:49:54 2016 UTC (7 years, 7 months ago) by bluhm
Branch: MAIN
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored)

Do not check the SecPerTrack field of the BPB when mounting a MSDOS
file system.  In modern images the field is not set properly and
the value is not used anyway.  FreeBSD has removed the check already
in 2008.
From Alexander von Gernler; OK krw@

Revision 1.81 / (download) - annotate - [select for diffs], Wed Sep 28 18:49:11 2016 UTC (7 years, 8 months ago) by jca
Branch: MAIN
Changes since 1.80: +1 -3 lines
Diff to previous 1.80 (colored)

Kill empty ifdef; ok fcambus@

Revision 1.80 / (download) - annotate - [select for diffs], Wed Sep 7 17:30:12 2016 UTC (7 years, 8 months ago) by natano
Branch: MAIN
Changes since 1.79: +3 -32 lines
Diff to previous 1.79 (colored)

Remove usermount remnants. ok tedu

Revision 1.79 / (download) - annotate - [select for diffs], Sat Aug 13 20:53:17 2016 UTC (7 years, 9 months ago) by guenther
Branch: MAIN
Changes since 1.78: +2 -2 lines
Diff to previous 1.78 (colored)

Eliminate pointless casts to qaddr_t of a value being assigned to a void*

ok kettenis@ krw@ natano@ dlg@ espie@

Revision 1.78 / (download) - annotate - [select for diffs], Sun May 22 20:27:04 2016 UTC (8 years ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.77: +3 -2 lines
Diff to previous 1.77 (colored)

When pulling an msdos formated umass stick during mount while the
usb stack was busy, the kernel could trigger an uvm fault.  There
is a race between vop_generic_revoke() and sys_mount() where vgonel()
could reset v_specinfo.  Then v_specmountpoint is no longer valid.
So after sleeping, msdosfs_mountfs() could crash in the error path.
The code in the different *_mountfs() functions was inconsistent,
implement the same check everywhere.
OK krw@ natano@

Revision 1.77 / (download) - annotate - [select for diffs], Tue Apr 26 18:37:03 2016 UTC (8 years, 1 month ago) by natano
Branch: MAIN
Changes since 1.76: +9 -9 lines
Diff to previous 1.76 (colored)

Populate all necessary statfs members in .vfs_statfs. cd9660, udf,
msdosfs and nfsv2 don't set f_namemax. ntfs and ext2fs don't set
f_namemeax and f_favail. fusefs doesn't set f_mntfromspec, f_favail and
f_iosize. Also, make all filesystems use copy_statfs_info(), so that all
statfs information is filled in correctly for the (sb != &mp->mnt-stat)
case.

ok stefan

Revision 1.76 / (download) - annotate - [select for diffs], Sun Mar 27 11:39:37 2016 UTC (8 years, 2 months ago) by bluhm
Branch: MAIN
Changes since 1.75: +4 -4 lines
Diff to previous 1.75 (colored)

When pulling and unmounting an umass USB stick, the file system
could end up in an inconsistent state.  The fstype dependent
mp->mnt_data was NULL, but the general mp was still listed as a
valid mount point.  Next access to the file system would crash with
a NULL pointer dereference.
If closing the device fails, the mount point must go away anyway.
There is nothing we can do about it.  Remove the workaround for the
EIO error in the general unmount code, but do not generate any error
in the file system specific unmount functions.
OK natano@ beck@

Revision 1.75 / (download) - annotate - [select for diffs], Sat Mar 19 12:04:16 2016 UTC (8 years, 2 months ago) by natano
Branch: MAIN
Changes since 1.74: +7 -7 lines
Diff to previous 1.74 (colored)

Remove the unused flags argument from VOP_UNLOCK().

torture tested on amd64, i386 and macppc
ok beck mpi stefan
"the change looks right" deraadt

Revision 1.74 / (download) - annotate - [select for diffs], Thu Mar 17 18:52:31 2016 UTC (8 years, 2 months ago) by bluhm
Branch: MAIN
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored)

Set mnt_data to NULL after freeing the file system specific mount point.
OK krw@ natano@ as part of a larger diff

Revision 1.73 / (download) - annotate - [select for diffs], Fri Oct 23 17:21:34 2015 UTC (8 years, 7 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

Fix printf() types so kernel compiles with or w/o MSDOSFS_DEBUG.
e.g. print pointers with %p instead of %08x. No changes outside of
MSDOSFS_DEBUG.

Revision 1.72 / (download) - annotate - [select for diffs], Fri Oct 23 10:45:31 2015 UTC (8 years, 7 months ago) by krw
Branch: MAIN
Changes since 1.71: +14 -14 lines
Diff to previous 1.71 (colored)

Nuke a bunch of leading/embedded/trailing whitespace so the code can be
read without generating spurious headaches.

Revision 1.71 / (download) - annotate - [select for diffs], Fri Feb 13 13:35:03 2015 UTC (9 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.70: +2 -1 lines
Diff to previous 1.70 (colored)

Include sys/stdint.h for SIZE_MAX instead of relying on the misplaced
define in sys/limits.h.  OK guenther@

Revision 1.70 / (download) - annotate - [select for diffs], Tue Dec 16 18:30:04 2014 UTC (9 years, 5 months ago) by tedu
Branch: MAIN
Changes since 1.69: +2 -1 lines
Diff to previous 1.69 (colored)

primary change: move uvm_vnode out of vnode, keeping only a pointer.
objective: vnode.h doesn't include uvm_extern.h anymore.
followup changes: include uvm_extern.h or lock.h where necessary.
ok and help from deraadt

Revision 1.69 / (download) - annotate - [select for diffs], Tue Dec 9 07:05:06 2014 UTC (9 years, 5 months ago) by doug
Branch: MAIN
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored)

More malloc() -> mallocarray() in the kernel.

ok deraadt@ tedu@

Revision 1.68 / (download) - annotate - [select for diffs], Sat Jul 12 18:50:41 2014 UTC (9 years, 10 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.67: +5 -5 lines
Diff to previous 1.67 (colored)

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.

Revision 1.67 / (download) - annotate - [select for diffs], Mon Jun 23 18:54:33 2014 UTC (9 years, 11 months ago) by tobias
Branch: MAIN
Changes since 1.66: +3 -2 lines
Diff to previous 1.66 (colored)

Fix possible crash on invalid filesystems.
Merged from FreeBSD's revision 206098.

ok beck@

Revision 1.66 / (download) - annotate - [select for diffs], Wed Jun 18 17:24:46 2014 UTC (9 years, 11 months ago) by tobias
Branch: MAIN
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored)

Fix off by one in pm_inusemap.

FreeBSD did this years ago in revision 126086 as pointed out by
John-Mark Gurney on tech.  Merge it and sync two occurrences.

ok krw@

Revision 1.65 / (download) - annotate - [select for diffs], Tue May 27 21:52:19 2014 UTC (10 years ago) by sf
Branch: MAIN
Changes since 1.64: +7 -1 lines
Diff to previous 1.64 (colored)

Fix 'mount -ur' for msdosfs

* fix bug preventing sync after more than one rw -> ro cycle.
* sync data and not only metadata

ok guenther@

Revision 1.64 / (download) - annotate - [select for diffs], Fri May 9 03:54:28 2014 UTC (10 years ago) by tedu
Branch: MAIN
Changes since 1.63: +1 -2 lines
Diff to previous 1.63 (colored)

stop using B_AGE, it was effectively retired some time ago.

Revision 1.63 / (download) - annotate - [select for diffs], Mon Apr 15 15:32:19 2013 UTC (11 years, 1 month ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.62: +9 -4 lines
Diff to previous 1.62 (colored)

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@

Revision 1.62 / (download) - annotate - [select for diffs], Mon Sep 10 11:10:59 2012 UTC (11 years, 8 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.61: +9 -12 lines
Diff to previous 1.61 (colored)

Cleanup VFS mount string handling:

- Avoid using copyinstr() without checking the return value.

- sys_mount() has already copied the path in, so pass this to the
  filesystem mount code so that it does not have to copy it in again.

- Avoid copyinstr()/bzero() dance when we can simply bzero() and strlcpy().

ok krw@

Revision 1.61 / (download) - annotate - [select for diffs], Mon Jul 4 20:35:35 2011 UTC (12 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

move the specfs code to a place people can see it; ok guenther thib krw

Revision 1.60 / (download) - annotate - [select for diffs], Mon Jul 4 04:30:41 2011 UTC (12 years, 11 months ago) by tedu
Branch: MAIN
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored)

bread does nothing with its ucred argument.  remove it.  ok matthew

Revision 1.59 / (download) - annotate - [select for diffs], Wed Nov 17 12:27:03 2010 UTC (13 years, 6 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.58: +44 -21 lines
Diff to previous 1.58 (colored)

Teach msdosfs_mount() how to handle disklabel UIDs.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Sep 23 18:40:00 2010 UTC (13 years, 8 months ago) by oga
Branch: MAIN
Changes since 1.57: +3 -5 lines
Diff to previous 1.57 (colored)

Change:

	/* something */
	if (error) {
		VOP_UNLOCK();
		return;
	}
	VOP_UNLOCK();

to the clearer and shorter:

	VOP_UNLOCK();
	if (error)
		return;

ok thib@, jsing@ as part of a larger diff.

Revision 1.57 / (download) - annotate - [select for diffs], Sun Jan 24 18:12:46 2010 UTC (14 years, 4 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.56: +3 -1 lines
Diff to previous 1.56 (colored)

"Fix" crash caused by FAT32 re-use of small buf from buffer cache,
at least until problem (starting somewhere between 4.1 and 4.2)
in buffer cache is found and a general fix is in place. Simply
B_INVAL small buf so it doesn't come back.

Addresses PR#6290, confirmed by submitter RD Thrush.

ok tedu@ "should be marked XXX" thib@

Revision 1.56 / (download) - annotate - [select for diffs], Sat Dec 19 00:27:17 2009 UTC (14 years, 5 months ago) by krw
Branch: MAIN
Changes since 1.55: +5 -1 lines
Diff to previous 1.55 (colored)

Re-introduce the remaining bits of thib@'s Aug 2006 VOP_CLOSE()
locking fixes. Tweak cd9660 code to be the same as everywhere else,
no functional change.

ok beck@

Revision 1.55 / (download) - annotate - [select for diffs], Sat Oct 31 12:00:08 2009 UTC (14 years, 7 months ago) by fgsch
Branch: MAIN
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

Use suser when possible. Suggested by miod@.
miod@ deraadt@ ok.

Revision 1.54 / (download) - annotate - [select for diffs], Sun Aug 30 15:31:24 2009 UTC (14 years, 9 months ago) by thib
Branch: MAIN
Changes since 1.53: +2 -1 lines
Diff to previous 1.53 (colored)

lock the vnode before calling VOP_CLOSE() in msdofs_unmount().

ok krw@

Revision 1.53 / (download) - annotate - [select for diffs], Fri Aug 14 11:35:03 2009 UTC (14 years, 9 months ago) by jasper
Branch: MAIN
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

- deregister; no binary change

ok thibski@

Revision 1.52 / (download) - annotate - [select for diffs], Thu Aug 13 22:34:29 2009 UTC (14 years, 9 months ago) by jasper
Branch: MAIN
Changes since 1.51: +14 -44 lines
Diff to previous 1.51 (colored)

- ansify function declarations, no binary change

"fine" thib@

Revision 1.51 / (download) - annotate - [select for diffs], Mon Jan 5 01:14:40 2009 UTC (15 years, 5 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.50: +3 -2 lines
Diff to previous 1.50 (colored)

The FAT32 fsinxtfree field is advisory in nature and we don't use
it. So leave it untouched. Similiar to but more ruthless than the
fixes FreeBSD did, since they do use the value.  Basically avoid
various off-by-one and off-by-many errors.

Fixes problems encountered by jsg@ and deraadt@ where filesystems
found on SDHC cards caused UVM faults.

Original fixes found by jsg@. ok jsg@.

Revision 1.50 / (download) - annotate - [select for diffs], Mon Nov 26 00:30:44 2007 UTC (16 years, 6 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

Fix jsg@'s iRiver Clix by relaxing the test for SecPerTrack to allow
64 instead of 63. deraadt@, weingart@, millert@, thib@, miod@ ok with
eliminating test entirely but tom@'s voice of caution wins out for the
quick commit. Tested by jsg@ to confirm it fixes his device.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Nov 15 19:11:52 2007 UTC (16 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

read boot sector as 4K block, because of new ipod nano
from Alexey Vatchenko; ok tom

Revision 1.48 / (download) - annotate - [select for diffs], Mon Sep 17 01:33:33 2007 UTC (16 years, 8 months ago) by krw
Branch: MAIN
Changes since 1.47: +2 -3 lines
Diff to previous 1.47 (colored)

Only the most obvious bzero() -> M_ZERO changes. No cast changes, no
MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an
immediately adjacent bzero().

Revision 1.47 / (download) - annotate - [select for diffs], Wed Mar 21 17:29:32 2007 UTC (17 years, 2 months ago) by thib
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.46: +2 -3 lines
Diff to previous 1.46 (colored)

Remove the v_interlock simplelock from the vnode structure.
Zap all calls to simple_lock/unlock() on it (those calls are
#defined away though). Remove the LK_INTERLOCK from the calls
to vn_lock() and cleanup the filesystems wich implement VOP_LOCK().
(by remvoing the v_interlock from there calls to lockmgr()).

ok pedro@, art@, tedu@

Revision 1.46 / (download) - annotate - [select for diffs], Sat Dec 16 12:44:05 2006 UTC (17 years, 5 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.45: +34 -11 lines
Diff to previous 1.45 (colored)

Adopt FreeBSD's code for non-DEV_BSIZE formatted MSDOSFS filesystems.

Enables devices (e.g. newer iPods, various other mp3 players) that use
2048 byte sectors.

Inspired by original diffs from weingart@ and Alexey Vatchenk.

ok tom@ pedro@ deraadt@ weingart@ marco@

Revision 1.45 / (download) - annotate - [select for diffs], Fri Dec 15 03:04:24 2006 UTC (17 years, 5 months ago) by krw
Branch: MAIN
Changes since 1.44: +5 -94 lines
Diff to previous 1.44 (colored)

Nuke GEMDOSFS. Unused part of unused atari port. Simplifies
MSDOSFS code. Eliminates -G option to mount_msdos.

Nit detection by gwk@, tom@, jmc@.

ok weingart@ tom@ thib@ dlg@ deraadt@

Revision 1.44 / (download) - annotate - [select for diffs], Thu Dec 14 10:55:03 2006 UTC (17 years, 5 months ago) by tom
Branch: MAIN
Changes since 1.43: +1 -4 lines
Diff to previous 1.43 (colored)

Remove dirsperblk, which is not used after it is calculated.

ok weingart@ pedro@

Revision 1.43 / (download) - annotate - [select for diffs], Thu Dec 14 07:37:24 2006 UTC (17 years, 5 months ago) by tom
Branch: MAIN
Changes since 1.42: +25 -1 lines
Diff to previous 1.42 (colored)

If an MS-DOS filesystem claims to have more clusters than can be
represented in the FAT, limit the number of clusters we work with
to the FAT value.  This stops corrupt filesystems causing us to run
off the end of the FAT and panic()ing in fillinusemap().

Found by Jason Crawford (jasonrcrawford at gmail.com) with the MOKB
fs fuzzer.  Initial debugging by thib@.

ok krw@

Revision 1.42 / (download) - annotate - [select for diffs], Wed Nov 29 13:35:07 2006 UTC (17 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.41: +10 -6 lines
Diff to previous 1.41 (colored)

detect potential multiplicative overflow before allocation, and return via
the error path; ok pedro

Revision 1.41 / (download) - annotate - [select for diffs], Sun Nov 26 00:59:32 2006 UTC (17 years, 6 months ago) by pedro
Branch: MAIN
Changes since 1.40: +6 -2 lines
Diff to previous 1.40 (colored)

Fix malloc() panic in msdosfs_mountfs(), okay thib@ deraadt@
Found using fuzz generator written by lmh@info-pull.com

Revision 1.40 / (download) - annotate - [select for diffs], Tue Aug 22 19:30:48 2006 UTC (17 years, 9 months ago) by sturm
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.39: +2 -3 lines
Diff to previous 1.39 (colored)

remove the check for the number of heads reported by the BPB altogether,
there are devices reporting zero heads; we don't use this value anyways

ok pedro, reported by Igor Grabin <violent at death.kiev.ua>

Revision 1.39 / (download) - annotate - [select for diffs], Mon Aug 7 15:50:42 2006 UTC (17 years, 9 months ago) by pedro
Branch: MAIN
Changes since 1.38: +1 -5 lines
Diff to previous 1.38 (colored)

Revert last commit

Revision 1.38 / (download) - annotate - [select for diffs], Sun Aug 6 18:42:01 2006 UTC (17 years, 10 months ago) by thib
Branch: MAIN
Changes since 1.37: +6 -2 lines
Diff to previous 1.37 (colored)

obey the locking disaplince wrt to VOP_CLOSE during umounts
and mount error paths.

ok sturm@ pedro@

Revision 1.37 / (download) - annotate - [select for diffs], Wed Jul 19 15:48:06 2006 UTC (17 years, 10 months ago) by sturm
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

from FreeBSD:
Don't reject FAT file systems with a number of "Heads" greater than
255; USB keychains exist that use 256 as the number of heads.  This
check has also been removed in Darwin (along with most of the other
head/sector sanity checks).

this fixes pr 4988, ok pedro

Revision 1.36 / (download) - annotate - [select for diffs], Wed Mar 2 00:46:10 2005 UTC (19 years, 3 months ago) by tom
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.35: +1 -10 lines
Diff to previous 1.35 (colored)

(And remember to remove the block on filesystems > 128 GB)

Add support for MS-DOS filesystems > 128 GB, by changing the way we
calculate fileids (fake inode numbers).  This uses some hash code by
Thomas Wang, who has agreed to the existing licence on the file (i.e.
his name just needed to be added to the copyright list).  Thanks.

Also a tiny bit of KNF.

Closes PR 4119; works for the OP Pawel Rogocz.

Help with testing todd@, thanks.

ok deraadt@

Revision 1.35 / (download) - annotate - [select for diffs], Sun Dec 26 21:22:13 2004 UTC (19 years, 5 months ago) by miod
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

Use list and queue macros where applicable to make the code easier to read;
no change in compiler assembly output.

Revision 1.19.2.9 / (download) - annotate - [select for diffs], Sat Jun 5 23:13:07 2004 UTC (20 years ago) by niklas
Branch: SMP
Changes since 1.19.2.8: +1 -1 lines
Diff to previous 1.19.2.8 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

Merge with the trunk

Revision 1.34 / (download) - annotate - [select for diffs], Fri May 14 04:05:05 2004 UTC (20 years ago) by tedu
Branch: MAIN
CVS Tags: SMP_SYNC_B, SMP_SYNC_A, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.33: +0 -0 lines
Diff to previous 1.33 (colored)

use pool for namei pathbuf.  testing ok millert@ tdeval@

Revision 1.33 / (download) - annotate - [select for diffs], Wed May 12 21:04:15 2004 UTC (20 years ago) by tedu
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

32 bit ints are uint32_t, not u_long.  works on 64bit now.  ok deraadt@

Revision 1.19.2.8 / (download) - annotate - [select for diffs], Thu Feb 19 10:57:20 2004 UTC (20 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.19.2.7: +2 -2 lines
Diff to previous 1.19.2.7 (colored) to branchpoint 1.19 (colored)

Merge of current from two weeks agointo the SMP branch

Revision 1.32 / (download) - annotate - [select for diffs], Thu Aug 14 07:46:40 2003 UTC (20 years, 9 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

constify vfsops; tedu@ ok

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Mon May 19 22:27:06 2003 UTC (21 years ago) by tedu
Branch: UBC
Changes since 1.27.2.1: +5 -5 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

sync

Revision 1.19.2.7 / (download) - annotate - [select for diffs], Tue May 13 19:21:30 2003 UTC (21 years ago) by ho
Branch: SMP
Changes since 1.19.2.6: +5 -5 lines
Diff to previous 1.19.2.6 (colored) to branchpoint 1.19 (colored)

Sync the SMP branch to -current. This includes moving to ELF.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Apr 14 17:55:07 2003 UTC (21 years, 1 month ago) by tedu
Branch: MAIN
CVS Tags: UBC_SYNC_A
Changes since 1.30: +5 -5 lines
Diff to previous 1.30 (colored)

rename rootvp to rvp to avoid global.  ok deraadt@ krw@

Revision 1.19.2.6 / (download) - annotate - [select for diffs], Fri Mar 28 00:00:21 2003 UTC (21 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.19.2.5: +2 -1 lines
Diff to previous 1.19.2.5 (colored) to branchpoint 1.19 (colored)

Sync the SMP branch with 3.3

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Tue Jun 11 03:30:32 2002 UTC (21 years, 11 months ago) by art
Branch: UBC
Changes since 1.27: +21 -20 lines
Diff to previous 1.27 (colored)

Sync UBC branch to -current

Revision 1.30 / (download) - annotate - [select for diffs], Tue Apr 23 18:54:12 2002 UTC (22 years, 1 month ago) by espie
Branch: MAIN
CVS Tags: UBC_SYNC_B, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.29: +3 -2 lines
Diff to previous 1.29 (colored)

In mount.h, rename field export -> export_info, to avoid collision with C++.
Synch files that use that field.

(This argument is an internal interface specific to OpenBSD, so it won't
cause compatibility problems.)

(No bump, not an ABI change).

ok art, millert...

Revision 1.19.2.5 / (download) - annotate - [select for diffs], Thu Mar 28 15:02:01 2002 UTC (22 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.19.2.4: +18 -18 lines
Diff to previous 1.19.2.4 (colored) to branchpoint 1.19 (colored)

Merge in -current from roughly a week ago

Revision 1.29 / (download) - annotate - [select for diffs], Thu Mar 14 01:27:09 2002 UTC (22 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.28: +19 -19 lines
Diff to previous 1.28 (colored)

First round of __P removal in sys

Revision 1.19.2.4 / (download) - annotate - [select for diffs], Wed Mar 6 02:13:25 2002 UTC (22 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.19.2.3: +13 -8 lines
Diff to previous 1.19.2.3 (colored) to branchpoint 1.19 (colored)

Merge in trunk

Revision 1.28 / (download) - annotate - [select for diffs], Wed Dec 19 08:58:06 2001 UTC (22 years, 5 months ago) by art
Branch: MAIN
Changes since 1.27: +14 -9 lines
Diff to previous 1.27 (colored)

UBC was a disaster. It worked very good when it worked, but on some
machines or some configurations or in some phase of the moon (we actually
don't know when or why) files disappeared. Since we've not been able to
track down the problem in two weeks intense debugging and we need -current
to be stable, back out everything to a state it had before UBC.

We apologise for the inconvenience.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Dec 10 02:19:34 2001 UTC (22 years, 5 months ago) by art
Branch: MAIN
CVS Tags: UBC_BASE
Branch point for: UBC
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Merge in struct uvm_vnode into struct vnode.

Revision 1.19.2.3 / (download) - annotate - [select for diffs], Wed Dec 5 01:02:39 2001 UTC (22 years, 6 months ago) by niklas
Branch: SMP
Changes since 1.19.2.2: +54 -53 lines
Diff to previous 1.19.2.2 (colored) to branchpoint 1.19 (colored)

Merge in -current

Revision 1.26 / (download) - annotate - [select for diffs], Tue Nov 27 05:27:12 2001 UTC (22 years, 6 months ago) by art
Branch: MAIN
Changes since 1.25: +9 -14 lines
Diff to previous 1.25 (colored)

Merge in the unified buffer cache code as found in NetBSD 2001/03/10. The
code is written mostly by Chuck Silvers <chuq@chuq.com>/<chs@netbsd.org>.

Tested for the past few weeks by many developers, should be in a pretty stable
state, but will require optimizations and additional cleanups.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Nov 21 21:37:01 2001 UTC (22 years, 6 months ago) by csapuntz
Branch: MAIN
Changes since 1.24: +3 -2 lines
Diff to previous 1.24 (colored)

VOP_UNLOCK + vrele does not alway == vput

Revision 1.24 / (download) - annotate - [select for diffs], Wed Nov 21 21:16:18 2001 UTC (22 years, 6 months ago) by csapuntz
Branch: MAIN
Changes since 1.23: +49 -44 lines
Diff to previous 1.23 (colored)



Use vfs_mount_foreach_vnode

Revision 1.19.2.2 / (download) - annotate - [select for diffs], Mon May 14 22:32:59 2001 UTC (23 years ago) by niklas
Branch: SMP
Changes since 1.19.2.1: +8 -8 lines
Diff to previous 1.19.2.1 (colored) to branchpoint 1.19 (colored)

merge in approximately 2.9 into SMP branch

Revision 1.23 / (download) - annotate - [select for diffs], Sun Mar 4 06:32:40 2001 UTC (23 years, 3 months ago) by csapuntz
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.22: +1 -3 lines
Diff to previous 1.22 (colored)

These file systems don't do softudpates.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Feb 20 01:50:11 2001 UTC (23 years, 3 months ago) by assar
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

use void * consistently in vfs_mount and sys_mount.  ok @art

Revision 1.21 / (download) - annotate - [select for diffs], Wed Feb 7 17:51:48 2001 UTC (23 years, 3 months ago) by mickey
Branch: MAIN
Changes since 1.20: +5 -3 lines
Diff to previous 1.20 (colored)

fix debug case; from Mike Pechkin <mpech@prosoft.org.lv>

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Fri Mar 24 09:09:30 2000 UTC (24 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.19: +5 -2 lines
Diff to previous 1.19 (colored)

Sync with -current

Revision 1.20 / (download) - annotate - [select for diffs], Wed Mar 15 03:18:02 2000 UTC (24 years, 2 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.19: +5 -2 lines
Diff to previous 1.19 (colored)

Support FAT32 partitions >4GB (up to 128GB, in fact); d@ ok, from NetBSD.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Feb 7 04:57:17 2000 UTC (24 years, 4 months ago) by assar
Branch: MAIN
CVS Tags: SMP_BASE
Branch point for: SMP
Changes since 1.18: +29 -14 lines
Diff to previous 1.18 (colored)

update to use new checkexp vfs operation

Revision 1.18 / (download) - annotate - [select for diffs], Mon May 31 17:34:51 1999 UTC (25 years ago) by millert
Branch: MAIN
CVS Tags: kame_19991208, OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.17: +4 -6 lines
Diff to previous 1.17 (colored)

New struct statfs with mount options.  NOTE: this replaces statfs(2),
fstatfs(2), and getfsstat(2) so you will need to build a new kernel
before doing a "make build" or you will get "unimplemented syscall" errors.

The new struct statfs has the following featuires:
o Has a u_int32_t flags field--now softdep can have a real flag.

o Uses u_int32_t instead of longs (nicer on the alpha).  Note: the man
page used to lie about setting invalid/unused fields to -1.  SunOS does
that but our code never has.

o Gets rid of f_type completely.  It hasn't been used since NetBSD 0.9
and having it there but always 0 is confusing.  It is conceivable
that this may cause some old code to not compile but that is better
than silently breaking.

o Adds a mount_info union that contains the FSTYPE_args struct.  This
means that "mount" can now tell you all the options a filesystem was
mounted with.  This is especially nice for NFS.

Other changes:
o The linux statfs emulation didn't convert between BSD fs names
  and linux f_type numbers.  Now it does, since the BSD f_type
  number is useless to linux apps (and has been removed anyway)

o FreeBSD's struct statfs is different from our (both old and new)
and thus needs conversion.  Previously, the OpenBSD syscalls
were used without any real translation.

o mount(8) will now show extra info when invoked with no arguments.
However, to see *everything* you need to use the -v (verbose) flag.

Revision 1.17 / (download) - annotate - [select for diffs], Sat May 1 23:47:21 1999 UTC (25 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.16: +3 -13 lines
Diff to previous 1.16 (colored)

do not count on BOOTSIG0 and BOOTSIG1 being in a msdos filesystem.  Not
all filesystems need to contain those; mark@nfr.net

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jan 10 21:53:02 1999 UTC (25 years, 4 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.15: +7 -15 lines
Diff to previous 1.15 (colored)

make this compile with MSDOSFS_DEBUG

Revision 1.15 / (download) - annotate - [select for diffs], Mon Feb 23 20:10:38 1998 UTC (26 years, 3 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored)

GAS 2.8 + KNF

Revision 1.14 / (download) - annotate - [select for diffs], Sun Feb 8 22:41:44 1998 UTC (26 years, 3 months ago) by tholo
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Updates to match type changes in syscall tables

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jan 11 20:39:10 1998 UTC (26 years, 4 months ago) by provos
Branch: MAIN
Changes since 1.12: +117 -32 lines
Diff to previous 1.12 (colored)

FAT32 support from NetBSD by Wolfgang Solfrank.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Nov 10 21:17:29 1997 UTC (26 years, 6 months ago) by provos
Branch: MAIN
Changes since 1.11: +4 -7 lines
Diff to previous 1.11 (colored)

dont crash on update mounting.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Nov 9 23:15:12 1997 UTC (26 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.10: +37 -14 lines
Diff to previous 1.10 (colored)

Don't panic on sync, based on changes from ext2fs_vfsops.c and ffs_vfsops.c

Revision 1.10 / (download) - annotate - [select for diffs], Thu Nov 6 05:58:57 1997 UTC (26 years, 7 months ago) by csapuntz
Branch: MAIN
Changes since 1.9: +22 -41 lines
Diff to previous 1.9 (colored)

Updates for VFS Lite 2 + soft update.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Oct 6 20:20:59 1997 UTC (26 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.8: +40 -21 lines
Diff to previous 1.8 (colored)

back out vfs lite2 till after 2.2

Revision 1.8 / (download) - annotate - [select for diffs], Mon Oct 6 15:22:39 1997 UTC (26 years, 8 months ago) by csapuntz
Branch: MAIN
Changes since 1.7: +22 -41 lines
Diff to previous 1.7 (colored)

VFS Lite2 Changes

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jun 20 14:04:30 1997 UTC (26 years, 11 months ago) by kstailey
Branch: MAIN
Changes since 1.6: +7 -7 lines
Diff to previous 1.6 (colored)

Change errno cause by mounting invalid filesystems from EINVAL to EFTYPE.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 2 18:01:59 1997 UTC (27 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Sync msdosfs with NetBSD sans const-ness.  NetSBD log messages:
    Fix panic on mkdir.
    Thanks to Dave Huang for finding the bug.
    Fixes a bug with allowed/forbidden characters in non-W95 filenames.
    Don't extend directory when nothing is written to it.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Apr 21 22:28:22 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored)

partial sync with netbsd 960418, more to come

Revision 1.4 / (download) - annotate - [select for diffs], Thu Feb 29 10:46:57 1996 UTC (28 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.3: +53 -27 lines
Diff to previous 1.3 (colored)

From NetBSD: merge with 960217

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jan 29 07:05:58 1996 UTC (28 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +99 -102 lines
Diff to previous 1.2 (colored)

from netbsd;
Instead of using '#ifdef atari' to handle the differences of Gemdosfs and
Msdosfs, use a flag that can be set by mount_msdos. This is definitely
more flexible.
Fix error in previous change: don't use the local FS mount data before
it's actually allocated. Pass mount arguments to msdosfs_mountfs instead,
and use them (as in iso_mountfs for example).

Revision 1.2 / (download) - annotate - [select for diffs], Thu Dec 14 04:19:56 1995 UTC (28 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +68 -60 lines
Diff to previous 1.1 (colored)

from netbsd (mostly by ws):
Win95 ignores case on lookup
Really don't generate long names when mounted with -s
Fix cookie handling
Don't forward credentials to bread, it makes nfs panic
(Of course, nfs shouldn't rely on the credentials not being referenced)
Don't give directory entry to deget, it could result in a deadlock
Use device blocks, not clusters for logical block numbers
Add support for Win'95 separate creation/modification/access timestamps
Re-introduce lowercase filenames for non-Win'95-filesystems
Fix thinko with block boundaries in directories
Don't overwrite dirclust, it's needed later on
Enable flock(2).

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:53:04 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:53:04 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.