|
9576a0ca
|
2000-07-01T13:35:28
|
|
Use MOUNTED_FS_STAT_DEV instead of MOUNTED_NEXT_DEV,
per change in ../m4/ls-mntd-fs.m4.
(read_filesystem_list): Ignore symbolic links.
|
|
ed3c5c90
|
2000-06-29T08:30:03
|
|
(fsp_to_string) [HAVE_F_FSTYPENAME_IN_STATFS]:
Avoid warning by casting result to `char *' to remove `const'.
|
|
bd85a91a
|
2000-06-03T22:09:03
|
|
move vmp decl back out to the scope where it belongs
|
|
bcf3308e
|
2000-06-02T11:20:47
|
|
Back out last change. Instead, do this...
(read_filesystem_list) [MOUNTED_VMOUNT]: Set the me_dummy
member using the same `ignore'-testing code.
|
|
3004e2c7
|
2000-05-29T16:23:45
|
|
(read_filesystem_list) [MOUNTED_VMOUNT]: Ignore mounts
with the `ignore' attribute. Based on a patch from Mark D. Roth.
|
|
f4802219
|
2000-05-01T08:03:33
|
|
(read_filesystem_list): Add BeOS support.
|
|
c6a5094f
|
1999-07-26T06:52:28
|
|
*** empty log message ***
|
|
12c637b4
|
1999-07-20T18:52:05
|
|
update comments
|
|
34bd051e
|
1999-07-20T18:41:58
|
|
(translate_040_to_space) [MOUNTED_GETMNTENT1]: New function.
(read_filesystem_list) [MOUNTED_GETMNTENT1]: Use it.
|
|
5542a382
|
1998-08-15T03:01:13
|
|
(read_filesystem_list) [MOUNTED_GETMNT]: Don't infloop on getmnt(2) returning 0.
Christian von Roques
|
|
ea12546c
|
1998-07-29T03:58:02
|
|
(read_filesystem_list): Remove all_fs
argument, but put the necessary information into the result so
that the caller can ignore filesystems that he's not
interested in.
From Paul.
|
|
83d2e1ba
|
1998-07-25T15:00:37
|
|
(xatoi): Ansideclify.
(fstype_to_string): Ansideclify.
|
|
a7e84e3d
|
1998-07-25T14:54:42
|
|
(read_filesystem_list) [MOUNTED_GETMNTINFO]: Use fsp_to_string.
(fsp_to_string): Don't xmalloc return value (yet).
|
|
feeb972f
|
1998-07-25T14:41:04
|
|
(read_filesystem_list): If all_fs is negative, omit non-local filesytems.
From Paul Eggert.
|
|
0e334dd9
|
1998-07-18T12:28:31
|
|
(read_filesystem_list): Fix more memory leaks on failure.
From Andreas Schwab.
|
|
2bc1fe2a
|
1998-07-04T00:48:11
|
|
(read_filesystem_list):
Don't leak memory on failure.
Don't create a dummy struct mount_entry entry;
use the address-of-the-tail-address method instead.
Preserve errno if possible on failure, setting it to 0 if inapplicable.
Close file descriptor leak if the F_SETLKW failed.
Report an error if SVR4 lock file cannot be opened for some reason
other than a nonexistent lock file.
|
|
32a530aa
|
1998-06-30T14:32:53
|
|
(read_filesystem_list):
Plug file descriptor leak on failure.
Report failure if lock file can't be opened for some reason
other than nonexistence.
|
|
ff8b01f4
|
1998-06-30T03:56:57
|
|
(read_filesystem_list) [MOUNTED_GETMNTENT2]:
Always close stream and file descriptor before returning.
|
|
07ce9324
|
1998-06-30T02:15:43
|
|
(read_filesystem_list): If SVR4, lock /etc/.mnttab.lock if available,
to avoid race conditions (e.g. with the automounter on Solaris 2.6).
Include <errno.h>, <fcntl.h>, <unistd.h>.
|
|
b6a91103
|
1998-06-29T17:01:48
|
|
(fstype_to_string): Guard with #if ! HAVE_F_FSTYPENAME_IN_STATFS.
|
|
c52618d1
|
1998-06-29T01:10:24
|
|
(fsp_to_string): Clean out some crufty #ifdefs
now that we're using the jm_FSTYPENAME autoconf macro.
|
|
67f394c1
|
1998-03-15T11:09:10
|
|
Use #if, not #ifdef with HAVE_ macros
|
|
0f905c09
|
1997-12-25T17:02:25
|
|
Declare stpcpy only if not defined as macro.
|
|
f542a4ad
|
1997-05-28T11:42:29
|
|
(read_filesystem_list): Add `|| defined (__OpenBSD__)'
to the NetBSD #if so OpenBSD also uses the f_fstypename member.
(fstype_to_string): Add `&& !defined (__OpenBSD__)' to the NetBSD #if
expression to exclude this function definition. OpenBSD 2.1 beta
doesn't need it. Patch from Hugh Daniel <hugh@ecotone.xanadu.com>
|
|
3b9c7bc2
|
1997-05-24T14:43:21
|
|
(read_filesystem_list): Show automount-related
duplicate filesystems only when --all specified. With suggestions
from Stuart Kemp.
|
|
57d62c35
|
1997-05-24T14:42:40
|
|
Indent cpp directives.
|
|
81d7fb95
|
1997-01-25T13:50:24
|
|
remove trailing blanks
|
|
040465a3
|
1996-10-12T23:21:32
|
|
(fstype_to_string): Handle fstypes of freebsd.
From Arne Henrik Juul.
|
|
6d8337bf
|
1996-07-15T03:36:16
|
|
update FSF address in copyright
|
|
7f7c69fa
|
1996-05-23T13:04:41
|
|
(read_filesystem_list) [MOUNTED_LISTMNTENT]: New function.
From Johan Danielsson (joda@pdc.kth.se).
|
|
aa5959b9
|
1995-10-05T14:14:45
|
|
(read_filesystem_list): Cast -1 to dev_t before assignment.
|
|
36427d6c
|
1994-10-08T16:38:01
|
|
.
|
|
d87c3946
|
1992-10-31T20:42:48
|
|
Initial revision
|