Re: [PATCH 5/5] autofs: the documentation I wanted to read

From: NeilBrown
Date: Tue Aug 19 2014 - 03:00:40 EST


On Mon, 18 Aug 2014 18:13:52 +0800 Ian Kent <raven@xxxxxxxxxx> wrote:


> > +The available ioctl commands are:
> > +
> > +- **AUTOFS_IOC_READY**: a notification has been handled. The argument
> > + to the ioctl command is the "wait_queue_token" number
> > + corresponding to the notification being acknowledged.
> > +- **AUTOFS_IOC_FAIL**: similar to above, but indicates failure with
> > + the error code `ENOENT`.
> > +- **AUTOFS_IOC_CATATONIC**: Causes the autofs to enter "catatonic"
> > + mode meaning that it stops sending notifications to the daemon.
> > + This mode is also entered if a write to the pipe fails.
> > +- **AUTOFS_IOC_PROTOVER**: This returns the protocol version in use.
> > +- **AUTOFS_IOC_PROTOSUBVER**: Returns the protocol sub-version which
> > + is really a version number for the implementation. It is
> > + currently 2.
> > +- **AUTOFS_IOC_SETTIMEOUT**: This passes a pointer to an unsigned
> > + long. The value is used to set the timeout for expiry, and
> > + the current timeout value is stored back through the pointer.
> > +- **AUTOFS_IOC_ASKUMOUNT**: Returns, in the pointed-to `int`, 1 if
> > + the filesystem could be unmounted. This is only a hint as
> > + the situation could change at any instant. This call can be
> > + use to avoid a more expensive full unmount attempt.
> > +- **AUTOFS_IOC_EXPIRE**: as described above, this asks if there is
> > + anything suitable to expire. A pointer to a packet:
> > +
> > + struct autofs_packet_expire_multi {
> > + int proto_version; /* Protocol version */
> > + int type; /* Type of packet */
> > + autofs_wqt_t wait_queue_token;
> > + int len;
> > + char name[NAME_MAX+1];
>
> These fields have leading <spaces><tab> StGit complains about on import.
> Think it should be <tab><tab>.
>

I think I did that because I thought it would work better for markdown
processors (e.g. markdown_py).
However I just tested, and it works best if I turn all the tabs to spaces.
So that is what I have done.

And no rush with testing etc - I just wanted to make sure you had current
code now that -rc1 was out.

Thanks,
NeilBrown

Attachment: signature.asc
Description: PGP signature