How to use a usb-drive / pendrive?

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





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








-1















When pluging the pendrive, a message shows:



[ 67.317741] sd 6:0:0:0: [sdb] No Caching mode page found
[ 67.317741] sd 6:0:0:0: [sdb] Assuming drive cache: write through


I don't mind having that message, because that's just the way the media is formatted, and I find it good that the system is reminding this to me, but why after the message shows the CLI stays inside a process there? Should I just press ctrl + c to terminate the process?



How to access the media and copy files from and towards it?



Finally how to remove the media safely?










share|improve this question






























    -1















    When pluging the pendrive, a message shows:



    [ 67.317741] sd 6:0:0:0: [sdb] No Caching mode page found
    [ 67.317741] sd 6:0:0:0: [sdb] Assuming drive cache: write through


    I don't mind having that message, because that's just the way the media is formatted, and I find it good that the system is reminding this to me, but why after the message shows the CLI stays inside a process there? Should I just press ctrl + c to terminate the process?



    How to access the media and copy files from and towards it?



    Finally how to remove the media safely?










    share|improve this question


























      -1












      -1








      -1


      1






      When pluging the pendrive, a message shows:



      [ 67.317741] sd 6:0:0:0: [sdb] No Caching mode page found
      [ 67.317741] sd 6:0:0:0: [sdb] Assuming drive cache: write through


      I don't mind having that message, because that's just the way the media is formatted, and I find it good that the system is reminding this to me, but why after the message shows the CLI stays inside a process there? Should I just press ctrl + c to terminate the process?



      How to access the media and copy files from and towards it?



      Finally how to remove the media safely?










      share|improve this question
















      When pluging the pendrive, a message shows:



      [ 67.317741] sd 6:0:0:0: [sdb] No Caching mode page found
      [ 67.317741] sd 6:0:0:0: [sdb] Assuming drive cache: write through


      I don't mind having that message, because that's just the way the media is formatted, and I find it good that the system is reminding this to me, but why after the message shows the CLI stays inside a process there? Should I just press ctrl + c to terminate the process?



      How to access the media and copy files from and towards it?



      Finally how to remove the media safely?







      linux usb-drive






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 10 at 23:23







      mikl

















      asked May 16 '17 at 17:33









      miklmikl

      1655




      1655




















          1 Answer
          1






          active

          oldest

          votes


















          3














          The CLI does not stay 'inside a process'. That kernel messages was displayed on your terminal independent of the shell. You are in effect still at the previous shell prompt; just hit Enter if you want to move to the next line.




          To access data on the drive, you will probably want to mount the drive, for example



          mount /dev/sdb /mnt


          to view the drive under /mnt. When done using the drive, you would ensure no processes were accessing the drive, and then



          umount /dev/sdb


          These commands will probably need to be run with superuser privilege (sudo). You may also need to specify other options; check the man page.






          share|improve this answer


















          • 2





            After unmounting, you might also want to do a echo 1 > /sys/block/sdb/device/delete for a maximally safe removal. That command effectively tells the kernel "prepare for hot-unplugging of block device sdb."

            – telcoM
            Mar 10 at 23:38











          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          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%2f365451%2fhow-to-use-a-usb-drive-pendrive%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3














          The CLI does not stay 'inside a process'. That kernel messages was displayed on your terminal independent of the shell. You are in effect still at the previous shell prompt; just hit Enter if you want to move to the next line.




          To access data on the drive, you will probably want to mount the drive, for example



          mount /dev/sdb /mnt


          to view the drive under /mnt. When done using the drive, you would ensure no processes were accessing the drive, and then



          umount /dev/sdb


          These commands will probably need to be run with superuser privilege (sudo). You may also need to specify other options; check the man page.






          share|improve this answer


















          • 2





            After unmounting, you might also want to do a echo 1 > /sys/block/sdb/device/delete for a maximally safe removal. That command effectively tells the kernel "prepare for hot-unplugging of block device sdb."

            – telcoM
            Mar 10 at 23:38















          3














          The CLI does not stay 'inside a process'. That kernel messages was displayed on your terminal independent of the shell. You are in effect still at the previous shell prompt; just hit Enter if you want to move to the next line.




          To access data on the drive, you will probably want to mount the drive, for example



          mount /dev/sdb /mnt


          to view the drive under /mnt. When done using the drive, you would ensure no processes were accessing the drive, and then



          umount /dev/sdb


          These commands will probably need to be run with superuser privilege (sudo). You may also need to specify other options; check the man page.






          share|improve this answer


















          • 2





            After unmounting, you might also want to do a echo 1 > /sys/block/sdb/device/delete for a maximally safe removal. That command effectively tells the kernel "prepare for hot-unplugging of block device sdb."

            – telcoM
            Mar 10 at 23:38













          3












          3








          3







          The CLI does not stay 'inside a process'. That kernel messages was displayed on your terminal independent of the shell. You are in effect still at the previous shell prompt; just hit Enter if you want to move to the next line.




          To access data on the drive, you will probably want to mount the drive, for example



          mount /dev/sdb /mnt


          to view the drive under /mnt. When done using the drive, you would ensure no processes were accessing the drive, and then



          umount /dev/sdb


          These commands will probably need to be run with superuser privilege (sudo). You may also need to specify other options; check the man page.






          share|improve this answer













          The CLI does not stay 'inside a process'. That kernel messages was displayed on your terminal independent of the shell. You are in effect still at the previous shell prompt; just hit Enter if you want to move to the next line.




          To access data on the drive, you will probably want to mount the drive, for example



          mount /dev/sdb /mnt


          to view the drive under /mnt. When done using the drive, you would ensure no processes were accessing the drive, and then



          umount /dev/sdb


          These commands will probably need to be run with superuser privilege (sudo). You may also need to specify other options; check the man page.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered May 16 '17 at 17:51









          user4556274user4556274

          5,48811225




          5,48811225







          • 2





            After unmounting, you might also want to do a echo 1 > /sys/block/sdb/device/delete for a maximally safe removal. That command effectively tells the kernel "prepare for hot-unplugging of block device sdb."

            – telcoM
            Mar 10 at 23:38












          • 2





            After unmounting, you might also want to do a echo 1 > /sys/block/sdb/device/delete for a maximally safe removal. That command effectively tells the kernel "prepare for hot-unplugging of block device sdb."

            – telcoM
            Mar 10 at 23:38







          2




          2





          After unmounting, you might also want to do a echo 1 > /sys/block/sdb/device/delete for a maximally safe removal. That command effectively tells the kernel "prepare for hot-unplugging of block device sdb."

          – telcoM
          Mar 10 at 23:38





          After unmounting, you might also want to do a echo 1 > /sys/block/sdb/device/delete for a maximally safe removal. That command effectively tells the kernel "prepare for hot-unplugging of block device sdb."

          – telcoM
          Mar 10 at 23:38

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f365451%2fhow-to-use-a-usb-drive-pendrive%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown






          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay