Re: [PATCH 1/2] Read /etc/exports.d/*.export as extra export files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

thank you for replying.

> On 03/03/2011 09:01 AM, Masatake YAMATO wrote:
>> No comment?
> Sorry about that... I was traveling for the couple weeks... 
> 
> Would you happen to have an example script on how 
> this new feature would be used? I just want to run 
> some quick tests...
> 
> tia,
> 
> steved.

Could you try following one?

# cd /tmp
# mkdir /tmp/alpha
# mkdir /tmp/beta
# mkdir /etc/exports.d
# mkdir /etc/exports.d
# echo '/tmp/alpha *(ro)' > /etc/exports.d/alpha.export
# echo '/tmp/beta *(ro)'  > /etc/exports.d/beta.export
# /etc/init.d nfs restart

After above setting up, when you do `exportfs', following lines 
may be included in the output:

    /tmp/alpha	 <world>
    /tmp/beta        <world>


Masatake YAMATO
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux