Munt points and nodev options

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I'm studying device files and I've seen some mount points cannot accept the device file creation (if nodev option is set).
Considering my mount output:



sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
.....
debugfs on /sys/kernel/debug type debugfs (rw,relatime)


I've tried to create a device file in /sys/kernel/debug (the directory has been chosen only because it doesn't have the nodev option) but the operation is not permitted. I don't understand the rationale behind it: why is the operation not possible?









share

























    up vote
    0
    down vote

    favorite












    I'm studying device files and I've seen some mount points cannot accept the device file creation (if nodev option is set).
    Considering my mount output:



    sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
    .....
    debugfs on /sys/kernel/debug type debugfs (rw,relatime)


    I've tried to create a device file in /sys/kernel/debug (the directory has been chosen only because it doesn't have the nodev option) but the operation is not permitted. I don't understand the rationale behind it: why is the operation not possible?









    share























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm studying device files and I've seen some mount points cannot accept the device file creation (if nodev option is set).
      Considering my mount output:



      sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
      .....
      debugfs on /sys/kernel/debug type debugfs (rw,relatime)


      I've tried to create a device file in /sys/kernel/debug (the directory has been chosen only because it doesn't have the nodev option) but the operation is not permitted. I don't understand the rationale behind it: why is the operation not possible?









      share













      I'm studying device files and I've seen some mount points cannot accept the device file creation (if nodev option is set).
      Considering my mount output:



      sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
      .....
      debugfs on /sys/kernel/debug type debugfs (rw,relatime)


      I've tried to create a device file in /sys/kernel/debug (the directory has been chosen only because it doesn't have the nodev option) but the operation is not permitted. I don't understand the rationale behind it: why is the operation not possible?







      mount





      share












      share










      share



      share










      asked 9 mins ago









      andrew

      1




      1

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f478132%2fmunt-points-and-nodev-options%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f478132%2fmunt-points-and-nodev-options%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)