From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Fri, 10 Feb 2012 06:12:29 -0800 Subject: Get USB Device Class Type and Mount point In-Reply-To: <4F352066.4010602@gmail.com> References: <20120209122348.GB16651@kroah.com> <4F33CEC5.7000900@gmail.com> <20120209144717.GA19643@kroah.com> <4F352066.4010602@gmail.com> Message-ID: <20120210141229.GA3679@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Fri, Feb 10, 2012 at 07:19:26PM +0530, Abhijit Pawar wrote: > >Step back again, what is the problem you are trying to solve? > > > >greg k-h > I am trying to find out if any storage disk is connected to USB port > and get its mount so that I an encrypt that mount with encrypted > filesystem. Great, then do that from userspace, like it is done today. Or do you have a problem with how things are done today with encrypted filesystems? If so, why? greg k-h