How to use a usb-drive / pendrive?












-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 4 hours ago







      mikl

















      asked May 16 '17 at 17:33









      miklmikl

      1635




      1635






















          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



















          • 1





            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
            4 hours ago











          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



















          • 1





            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
            4 hours ago
















          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



















          • 1





            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
            4 hours ago














          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,47811225




          5,47811225








          • 1





            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
            4 hours ago














          • 1





            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
            4 hours ago








          1




          1





          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
          4 hours ago





          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
          4 hours ago


















          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

          CARDNET

          Boot-repair Failure: Unable to locate package grub-common:i386

          濃尾地震