From: Daniel Wagner <daniel.wagner@xss.co.at>
To: Richard Gooch <rgooch@ras.ucalgary.ca>
Cc: linux-kernel@vger.kernel.org
Subject: Re: devfsd-v1.3.13 available
Date: Fri, 10 Aug 2001 14:30:14 +0200 [thread overview]
Message-ID: <3B73D3D6.AEDE9848@xss.co.at> (raw)
In-Reply-To: <200108080643.f786hwk15743@vindaloo.ras.ucalgary.ca>
Richard Gooch wrote:
>
> Hi, all. I've just released version 1.3.13 of my devfsd (devfs
> daemon) at: http://www.atnf.csiro.au/~rgooch/linux/
>
> Tarball directly available from:
> ftp://ftp.??.kernel.org/pub/linux/daemons/devfsd/devfsd.tar.gz
>
> AND:
> ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/daemons/devfsd/devfsd.tar.gz
>
> This works with devfs-patch-v130, kernel 2.3.46 and devfs-patch-v99.7
> (or later).
>
> The main changes are:
>
> - Added support for DELETE event
>
> - Added debug trace to <action_modload>
>
> - Added compatibility entry support for SCSI discs 16 to 127
>
> - Added support for recursively reading config directories
>
> - Documentation updates.
consider this small patch against linux-2.2.19 with devfs-patch-v99.20,
to
allow users of 2.2 kernel the use of devfsd 1.3.13.
--- fs/devfs/base.c 2001/07/27 13:30:51 1.17
+++ fs/devfs/base.c 2001/08/10 12:22:00
@@ -2829,6 +2829,7 @@
static int devfs_unlink (struct inode *dir, struct dentry *dentry)
{
struct devfs_inode *di;
+ struct inode *inode = dentry->d_inode;
#ifdef CONFIG_DEVFS_DEBUG
char txt[STRING_LENGTH];
@@ -2847,6 +2848,8 @@
di = get_devfs_inode_from_vfs_inode (dentry->d_inode);
if (di == NULL) return -ENOENT;
if (!di->de->registered) return -ENOENT;
+ devfsd_notify_one (di->de, DEVFSD_NOTIFY_DELETE, inode->i_mode,
+ inode->i_uid, inode->i_gid,
inode->i_sb->u.generic_sbp);
di->de->registered = FALSE;
di->de->hide = TRUE;
free_dentries (di->de);
diff -u -r1.1.1.1 devfs_fs.h
--- include/linux/devfs_fs.h 2000/06/09 08:56:12 1.1.1.1
+++ include/linux/devfs_fs.h 2001/08/10 12:22:01
@@ -20,6 +20,7 @@
#define DEVFSD_NOTIFY_LOOKUP 4
#define DEVFSD_NOTIFY_CHANGE 5
#define DEVFSD_NOTIFY_CREATE 6
+#define DEVFSD_NOTIFY_DELETE 7
#define DEVFS_PATHLEN 1024 /* Never change this
otherwise the
binary interface will
change */
--
Daniel Wagner | mailto:daniel@xss.co.at
*x Software + Systeme | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
prev parent reply other threads:[~2001-08-10 12:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-08 6:43 devfsd-v1.3.13 available Richard Gooch
2001-08-10 12:30 ` Daniel Wagner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3B73D3D6.AEDE9848@xss.co.at \
--to=daniel.wagner@xss.co.at \
--cc=linux-kernel@vger.kernel.org \
--cc=rgooch@ras.ucalgary.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox