[pass] Fwd: Darwin ramdisk
rupa
rupa at lrrr.us
Wed Sep 12 04:30:14 CEST 2012
Attached patch:
* sets mount_point using $RANDOM
* sets the mount dir 700
* mounts the filesystem 700
sorry it's not a git-format-patch, due to the vagaries of the universe
(and because I can't just run the repo version under OSX without
passing it through the brew formula) it's not related to a commit.
It would be nice to have some case statement
case "$(uname)" in
Linux) some_function;;
Darwin) some_other_function;;
esac
so running from the git repo was easy cross-platform.
On Tue, Sep 11, 2012 at 9:49 PM, Jason A. Donenfeld <Jason at zx2c4.com> wrote:
> On Wed, Sep 12, 2012 at 3:12 AM, rupa <rupa at lrrr.us> wrote:
>> + mount_point=~/.volatile
>
> The mount_point name should be unique and randomly derived. It should
> be created freshly, too, so that the umask sets it to be 0700, and the
> mount should have options to set it to be 0700 once mounted as well.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: darwin-tmpfs-amended.patch
Type: application/octet-stream
Size: 972 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20120911/33f15cf0/attachment.obj>
More information about the Password-Store
mailing list