[Nix-dev] Re: [Nix-commits] SVN commit: nix - 22164 - eelco - nixpkgs/trunk/pkgs/os-specific/linux/mountall

Marc Weber marco-oweber at gmx.de
Mon Jun 7 17:30:29 CEST 2010


>    #!/bin/sh
>    echo fsck.btrfs "$@" done by kernel

I'd use something like this:

  #!/bin/sh
  # filesystem check is done by kernel
  # adding stub file so that mount doesn't complain
  # 'btrfsck' exists but is usually used by developers only
  echo "$(basename $0) $@ stub. Action done by kernel"

Because others like me will not know about your valuable extra info.

Marc Weber



More information about the nix-dev mailing list